Package org.camunda.bpm.engine.test.mock
Class MocksResolverFactory
- java.lang.Object
-
- org.camunda.bpm.engine.test.mock.MocksResolverFactory
-
- All Implemented Interfaces:
Resolver,ResolverFactory
public class MocksResolverFactory extends java.lang.Object implements ResolverFactory, Resolver
- Author:
- Tassilo Weidner
-
-
Constructor Summary
Constructors Constructor Description MocksResolverFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsKey(java.lang.Object key)Allows checking whether there is currently an object bound to the key.ResolvercreateResolver(VariableScope variableScope)java.lang.Objectget(java.lang.Object key)Returns the object currently bound to the key or false if no object is currently bound to the keyjava.util.Set<java.lang.String>keySet()Returns the set of key that can be resolved using this resolver.
-
-
-
Method Detail
-
createResolver
public Resolver createResolver(VariableScope variableScope)
- Specified by:
createResolverin interfaceResolverFactory
-
containsKey
public boolean containsKey(java.lang.Object key)
Description copied from interface:ResolverAllows checking whether there is currently an object bound to the key.- Specified by:
containsKeyin interfaceResolver- Parameters:
key- the key to check- Returns:
- true if there is currently an object bound to the key. False otherwise.
-
get
public java.lang.Object get(java.lang.Object key)
Description copied from interface:ResolverReturns the object currently bound to the key or false if no object is currently bound to the key
-
-