Class IoParameter
- java.lang.Object
-
- org.camunda.bpm.engine.impl.core.variable.mapping.IoParameter
-
- Direct Known Subclasses:
InputParameter,OutputParameter
public abstract class IoParameter extends Object
AnIoParametercreates a variable in a target variable scope.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected StringnameThe name of the parameter.protected ParameterValueProvidervalueProviderThe provider of the parameter value.
-
Constructor Summary
Constructors Constructor Description IoParameter(String name, ParameterValueProvider valueProvider)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidexecute(AbstractVariableScope scope)Execute the parameter in a given variable scope.protected abstract voidexecute(AbstractVariableScope innerScope, AbstractVariableScope outerScope)StringgetName()ParameterValueProvidergetValueProvider()voidsetName(String name)voidsetValueProvider(ParameterValueProvider valueProvider)
-
-
-
Field Detail
-
name
protected String name
The name of the parameter. The name of the parameter is the variable name in the targetVariableScope.
-
valueProvider
protected ParameterValueProvider valueProvider
The provider of the parameter value.
-
-
Constructor Detail
-
IoParameter
public IoParameter(String name, ParameterValueProvider valueProvider)
-
-
Method Detail
-
execute
public void execute(AbstractVariableScope scope)
Execute the parameter in a given variable scope.
-
execute
protected abstract void execute(AbstractVariableScope innerScope, AbstractVariableScope outerScope)
- Parameters:
innerScope-outerScope-
-
getName
public String getName()
-
setName
public void setName(String name)
-
getValueProvider
public ParameterValueProvider getValueProvider()
-
setValueProvider
public void setValueProvider(ParameterValueProvider valueProvider)
-
-