Enum Class WorkflowImportMode

java.lang.Object
java.lang.Enum<WorkflowImportMode>
com.codingapi.flow.transfer.WorkflowImportMode
All Implemented Interfaces:
Serializable, Comparable<WorkflowImportMode>, Constable

public enum WorkflowImportMode extends Enum<WorkflowImportMode>
流程导入模式。
  • Enum Constant Details

    • REPLACE

      public static final WorkflowImportMode REPLACE
      使用导入文件中的流程编码替换已存在的流程。
    • INCREMENTAL

      public static final WorkflowImportMode INCREMENTAL
      生成新的流程ID并创建独立流程;源流程编码未占用时保留,冲突时生成新编码。
  • Method Details

    • values

      public static WorkflowImportMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WorkflowImportMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null