org.activiti.engine.impl.variable
接口 VariableTypes
- 所有已知实现类:
- DefaultVariableTypes
public interface VariableTypes
Interface describing a container for all available VariableType
s of variables.
- 作者:
- dsyer, Frederik Heremans
getVariableType
VariableType getVariableType(String typeName)
- 返回:
- the type for the given type name.
Returns null if no type was found with the name.
findVariableType
VariableType findVariableType(Object value)
- 返回:
- the variable type to be used to store the given value as a variable.
- 抛出:
ActivitiException
- When no available type is capable of storing the value.
addType
VariableTypes addType(VariableType type)
addType
VariableTypes addType(VariableType type,
int index)
- Add 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.
getTypeIndex
int getTypeIndex(VariableType type)
getTypeIndex
int getTypeIndex(String typeName)
removeType
VariableTypes removeType(VariableType type)
Copyright © 2013 Alfresco. All rights reserved.