Class ValueTypeResolverImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.variable.ValueTypeResolverImpl
-
- All Implemented Interfaces:
ValueTypeResolver
public class ValueTypeResolverImpl extends java.lang.Object implements ValueTypeResolver
Resolves ValueType by name.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,ValueType>
knownTypes
-
Constructor Summary
Constructors Constructor Description ValueTypeResolverImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addType(ValueType type)
java.util.Collection<ValueType>
getSubTypes(ValueType type)
Returns all (transitive) sub types of the provided type given they are not abstractValueType
typeForName(java.lang.String typeName)
-
-
-
Field Detail
-
knownTypes
protected java.util.Map<java.lang.String,ValueType> knownTypes
-
-
Method Detail
-
addType
public void addType(ValueType type)
- Specified by:
addType
in interfaceValueTypeResolver
-
typeForName
public ValueType typeForName(java.lang.String typeName)
- Specified by:
typeForName
in interfaceValueTypeResolver
-
getSubTypes
public java.util.Collection<ValueType> getSubTypes(ValueType type)
Description copied from interface:ValueTypeResolver
Returns all (transitive) sub types of the provided type given they are not abstract- Specified by:
getSubTypes
in interfaceValueTypeResolver
- Returns:
-
-