Package org.drools.core.command.runtime
Class SetGlobalCommand
- java.lang.Object
-
- org.drools.core.command.runtime.SetGlobalCommand
-
- All Implemented Interfaces:
Serializable
,IdentifiableResult
,org.kie.api.command.Command<Object>
,org.kie.api.command.ExecutableCommand<Object>
public class SetGlobalCommand extends Object implements org.kie.api.command.ExecutableCommand<Object>, IdentifiableResult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SetGlobalCommand()
SetGlobalCommand(String identifier, Object object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
execute(org.kie.api.runtime.Context context)
String
getIdentifier()
Object
getObject()
String
getOutIdentifier()
void
setIdentifier(String identifier)
void
setObject(Object object)
void
setOutIdentifier(String outIdentifier)
String
toString()
-
-
-
Method Detail
-
execute
public Object execute(org.kie.api.runtime.Context context)
- Specified by:
execute
in interfaceorg.kie.api.command.ExecutableCommand<Object>
-
getIdentifier
public String getIdentifier()
-
setIdentifier
public void setIdentifier(String identifier)
-
getObject
public Object getObject()
-
setObject
public void setObject(Object object)
-
getOutIdentifier
public String getOutIdentifier()
- Specified by:
getOutIdentifier
in interfaceIdentifiableResult
-
setOutIdentifier
public void setOutIdentifier(String outIdentifier)
- Specified by:
setOutIdentifier
in interfaceIdentifiableResult
-
-