Drools :: Core 6.0.0.Beta5

org.drools.core.command.runtime
Class SetGlobalCommand

java.lang.Object
  extended by org.drools.core.command.runtime.SetGlobalCommand
All Implemented Interfaces:
Serializable, IdentifiableResult, GenericCommand<Object>, org.kie.api.command.Command<Object>

public class SetGlobalCommand
extends Object
implements GenericCommand<Object>, IdentifiableResult

See Also:
Serialized Form

Constructor Summary
SetGlobalCommand()
           
SetGlobalCommand(String identifier, Object object)
           
 
Method Summary
 Object execute(org.kie.internal.command.Context context)
           
 String getIdentifier()
           
 Object getObject()
           
 String getOutIdentifier()
           
 void setIdentifier(String identifier)
           
 void setObject(Object object)
           
 void setOutIdentifier(String outIdentifier)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetGlobalCommand

public SetGlobalCommand()

SetGlobalCommand

public SetGlobalCommand(String identifier,
                        Object object)
Method Detail

execute

public Object execute(org.kie.internal.command.Context context)
Specified by:
execute in interface GenericCommand<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 interface IdentifiableResult

setOutIdentifier

public void setOutIdentifier(String outIdentifier)
Specified by:
setOutIdentifier in interface IdentifiableResult

toString

public String toString()
Overrides:
toString in class Object

Drools :: Core 6.0.0.Beta5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.