org.drools.command.runtime.process
Class GetWorkItemCommand

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

public class GetWorkItemCommand
extends Object
implements GenericCommand<WorkItem>

See Also:
Serialized Form

Constructor Summary
GetWorkItemCommand()
           
GetWorkItemCommand(long workItemId)
           
 
Method Summary
 WorkItem execute(Context context)
           
 long getWorkItemId()
           
 void setWorkItemId(long workItemId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetWorkItemCommand

public GetWorkItemCommand()

GetWorkItemCommand

public GetWorkItemCommand(long workItemId)
Method Detail

getWorkItemId

public long getWorkItemId()

setWorkItemId

public void setWorkItemId(long workItemId)

execute

public WorkItem execute(Context context)
Specified by:
execute in interface GenericCommand<WorkItem>

toString

public String toString()
Overrides:
toString in class Object


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