org.drools.command.runtime
Class SetGlobalCommand

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

public class SetGlobalCommand
extends Object
implements GenericCommand<Void>

See Also:
Serialized Form

Constructor Summary
SetGlobalCommand()
           
SetGlobalCommand(String identifier, Object object)
           
 
Method Summary
 Void execute(Context context)
           
 String getIdentifier()
           
 Object getObject()
           
 String getOutIdentifier()
           
 boolean isOut()
           
 void setIdentifier(String identifier)
           
 void setObject(Object object)
           
 void setOut(boolean out)
           
 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 Void execute(Context context)
Specified by:
execute in interface GenericCommand<Void>

getIdentifier

public String getIdentifier()

setIdentifier

public void setIdentifier(String identifier)

getObject

public Object getObject()

setObject

public void setObject(Object object)

getOutIdentifier

public String getOutIdentifier()

setOutIdentifier

public void setOutIdentifier(String outIdentifier)

isOut

public boolean isOut()

setOut

public void setOut(boolean out)

toString

public String toString()
Overrides:
toString in class Object


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