org.camunda.bpm.engine.impl.variable
Class ValueTypeResolverImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.variable.ValueTypeResolverImpl
All Implemented Interfaces:
ValueTypeResolver

public class ValueTypeResolverImpl
extends Object
implements ValueTypeResolver

Resolves ValueType by name.

Author:
Daniel Meyer

Field Summary
protected  Map<String,ValueType> knownTypes
           
 
Constructor Summary
ValueTypeResolverImpl()
           
 
Method Summary
 void addType(ValueType type)
           
 Collection<ValueType> getSubTypes(ValueType type)
          Returns all (transitive) sub types of the provided type given they are not abstract
 ValueType typeForName(String typeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

knownTypes

protected Map<String,ValueType> knownTypes
Constructor Detail

ValueTypeResolverImpl

public ValueTypeResolverImpl()
Method Detail

addType

public void addType(ValueType type)
Specified by:
addType in interface ValueTypeResolver

typeForName

public ValueType typeForName(String typeName)
Specified by:
typeForName in interface ValueTypeResolver

getSubTypes

public 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 interface ValueTypeResolver
Returns:


Copyright © 2015 camunda services GmbH. All rights reserved.