Package com.codingapi.flow.transfer
Enum Class WorkflowImportMode
- All Implemented Interfaces:
Serializable,Comparable<WorkflowImportMode>,Constable
流程导入模式。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription生成新的流程ID并创建独立流程;源流程编码未占用时保留,冲突时生成新编码。使用导入文件中的流程编码替换已存在的流程。 -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowImportModeReturns the enum constant of this class with the specified name.static WorkflowImportMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REPLACE
使用导入文件中的流程编码替换已存在的流程。 -
INCREMENTAL
生成新的流程ID并创建独立流程;源流程编码未占用时保留,冲突时生成新编码。
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-