org.camunda.bpm.engine.impl.scripting.engine
Interface Resolver

All Known Implementing Classes:
BeansResolverFactory, VariableScopeResolver

public interface Resolver

A resolver for Objects bound to a key. A resolver provides a set of read only key bindings. This means that key it is not possible to clear a key binding (remove the object bound to the key) or to replace a key binding (set a new object bound to the key).

Author:
Daniel Meyer, Tom Baeyens

Method Summary
 boolean containsKey(Object key)
          Allows checking whether there is currently an object bound to the key.
 Object get(Object key)
          Returns the object currently bound to the key or false if no object is currently bound to the key
 Set<String> keySet()
          Returns the set of key that can be resolved using this resolver.
 

Method Detail

containsKey

boolean containsKey(Object key)
Allows checking whether there is currently an object bound to the key.

Parameters:
key - the key to check
Returns:
true if there is currently an object bound to the key. False otherwise.

get

Object get(Object key)
Returns the object currently bound to the key or false if no object is currently bound to the key

Parameters:
key - the key of the object to retrieve.
Returns:
the object currently bound to the key or 'null' if no object is currently bound to the key.

keySet

Set<String> keySet()
Returns the set of key that can be resolved using this resolver.

Returns:
the set of keys that can be resolved by this resolver.


Copyright © 2016 camunda services GmbH. All rights reserved.