org.jbpm.command
Class GetProcessDefinitionCommand
java.lang.Object
org.jbpm.command.GetProcessDefinitionCommand
- All Implemented Interfaces:
- java.io.Serializable, Command
public class GetProcessDefinitionCommand
- extends java.lang.Object
- implements Command
This Command returns all process definitions (or only the latest if
onlyLatest is true)
- Author:
- Bernd Ruecker (bernd.ruecker@camunda.com)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetProcessDefinitionCommand
public GetProcessDefinitionCommand()
GetProcessDefinitionCommand
public GetProcessDefinitionCommand(boolean onlyLatest)
execute
public java.lang.Object execute(JbpmContext jbpmContext)
throws java.lang.Exception
- Specified by:
execute
in interface Command
- Throws:
java.lang.Exception
isOnlyLatest
public boolean isOnlyLatest()
setOnlyLatest
public void setOnlyLatest(boolean onlyLatest)