Package step.parameter
Class ParameterManager
- java.lang.Object
-
- step.parameter.ParameterManager
-
public class ParameterManager extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
RESET_VALUE
-
Constructor Summary
Constructors Constructor Description ParameterManager(step.core.accessors.Accessor<Parameter> parameterAccessor, EncryptionManager encryptionManager, ch.exense.commons.app.Configuration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encryptAllParameters()
Parameter
encryptParameterValueIfEncryptionManagerAvailable(Parameter parameter)
Map<String,Parameter>
getAllParameters(Map<String,Object> contextBindings, step.core.objectenricher.ObjectPredicate objectPredicate)
Map<String,String>
getAllParameterValues(Map<String,Object> contextBindings, step.core.objectenricher.ObjectPredicate objectPredicate)
String
getDefaultScriptEngine()
void
resetAllProtectedParameters()
-
-
-
Field Detail
-
RESET_VALUE
public static final String RESET_VALUE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ParameterManager
public ParameterManager(step.core.accessors.Accessor<Parameter> parameterAccessor, EncryptionManager encryptionManager, ch.exense.commons.app.Configuration configuration)
-
-
Method Detail
-
getAllParameterValues
public Map<String,String> getAllParameterValues(Map<String,Object> contextBindings, step.core.objectenricher.ObjectPredicate objectPredicate)
-
getAllParameters
public Map<String,Parameter> getAllParameters(Map<String,Object> contextBindings, step.core.objectenricher.ObjectPredicate objectPredicate)
-
encryptAllParameters
public void encryptAllParameters()
-
resetAllProtectedParameters
public void resetAllProtectedParameters()
-
encryptParameterValueIfEncryptionManagerAvailable
public Parameter encryptParameterValueIfEncryptionManagerAvailable(Parameter parameter) throws EncryptionManagerException
- Throws:
EncryptionManagerException
-
getDefaultScriptEngine
public String getDefaultScriptEngine()
-
-