Class DefaultVariableTypes
java.lang.Object
org.activiti.engine.impl.variable.DefaultVariableTypes
- All Implemented Interfaces:
Serializable,VariableTypes
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddType(VariableType type) addType(VariableType type, int index) Add type at the given index.findVariableType(Object value) intgetTypeIndex(String typeName) intgetTypeIndex(VariableType type) getVariableType(String typeName) removeType(VariableType type) voidsetTypesList(List<VariableType> typesList)
-
Constructor Details
-
DefaultVariableTypes
public DefaultVariableTypes()
-
-
Method Details
-
addType
- Specified by:
addTypein interfaceVariableTypes
-
addType
Description copied from interface:VariableTypesAdd type at the given index. The index is used when finding a type for an object. When different types can store a specific object value, the one with the smallest index will be used.- Specified by:
addTypein interfaceVariableTypes
-
setTypesList
-
getVariableType
- Specified by:
getVariableTypein interfaceVariableTypes- Returns:
- the type for the given type name. Returns null if no type was found with the name.
-
findVariableType
- Specified by:
findVariableTypein interfaceVariableTypes- Returns:
- the variable type to be used to store the given value as a variable.
-
getTypeIndex
- Specified by:
getTypeIndexin interfaceVariableTypes
-
getTypeIndex
- Specified by:
getTypeIndexin interfaceVariableTypes
-
removeType
- Specified by:
removeTypein interfaceVariableTypes
-