org.drools.command.runtime.rule
Class InsertObjectInEntryPointCommand

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

public class InsertObjectInEntryPointCommand
extends Object
implements GenericCommand<org.drools.runtime.rule.FactHandle>

See Also:
Serialized Form

Constructor Summary
InsertObjectInEntryPointCommand()
           
InsertObjectInEntryPointCommand(Object object)
           
InsertObjectInEntryPointCommand(Object object, String outIdentifier)
           
 
Method Summary
 org.drools.runtime.rule.FactHandle execute(Context context)
           
 Object getObject()
           
 String getOutIdentifier()
           
 boolean isReturnObject()
           
 void setObject(Object object)
           
 void setOutIdentifier(String outIdentifier)
           
 void setReturnObject(boolean returnObject)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InsertObjectInEntryPointCommand

public InsertObjectInEntryPointCommand()

InsertObjectInEntryPointCommand

public InsertObjectInEntryPointCommand(Object object)

InsertObjectInEntryPointCommand

public InsertObjectInEntryPointCommand(Object object,
                                       String outIdentifier)
Method Detail

execute

public org.drools.runtime.rule.FactHandle execute(Context context)
Specified by:
execute in interface GenericCommand<org.drools.runtime.rule.FactHandle>

setObject

public void setObject(Object object)

getObject

public Object getObject()

getOutIdentifier

public String getOutIdentifier()

setOutIdentifier

public void setOutIdentifier(String outIdentifier)

isReturnObject

public boolean isReturnObject()

setReturnObject

public void setReturnObject(boolean returnObject)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.