Package cn.vertxup.workflow.cv.em
Enum Class PassWay
- All Implemented Interfaces:
Serializable,Comparable<PassWay>,Constable
The way of current request here. in current version the workflow aisle way means
four modes.
- Author:
- Lang
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFork/Join Mode, ( n: 1 ) - 1) n means the next node will be `n` types.Grid Mode, ( n: n ) - 1) n means the next node will be `n` types.Multi Mode, ( 1: n ) - 1) 1 means the next node is unique ( only one ), should be `1` type.Standard Mode, ( 1: 1 ) - 1) 1 means the next node is unique ( only one ), should be `1` type. -
Method Summary
-
Enum Constant Details
-
Fork
Fork/Join Mode, ( n: 1 ) - 1) n means the next node will be `n` types. - 2) 1 means each type contains `1` task. The request data: ```json
```{ "toUser": { "type1": "user1", "type2": "user2", "type3": "user3", "...": "...", "typeN": "userN" } } -
Multi
Multi Mode, ( 1: n ) - 1) 1 means the next node is unique ( only one ), should be `1` type. - 2) n means each type contains `n` tasks. The request data: ```json
```{ "toUser": [ "user1", "user2", "user3", "...", "userN" ] } -
Standard
Standard Mode, ( 1: 1 ) - 1) 1 means the next node is unique ( only one ), should be `1` type. - 2) 1 means each type contains `1` task. The request data: ```json
```{ "toUser": "user1" } -
Grid
Grid Mode, ( n: n ) - 1) n means the next node will be `n` types. - 2) n means each type contains `n` tasks. The request data: ```json
```{ "toUser": { "type1": [ "user1", "user2", "..." ], "type2": [ "user3", "user4", "...", "userY" ], "...": [ "...", "userN" ], "typeN": [ "user2", "user3", "...", "userX" ], } }
-
-
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
-