org.jbpm.command
Class GetProcessDefinitionsCommand
java.lang.Object
org.jbpm.command.AbstractBaseCommand
org.jbpm.command.AbstractGetObjectBaseCommand
org.jbpm.command.GetProcessDefinitionsCommand
- All Implemented Interfaces:
- java.io.Serializable, Command
public class GetProcessDefinitionsCommand
- extends AbstractGetObjectBaseCommand
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 org.jbpm.command.AbstractGetObjectBaseCommand |
getJbpmContext, getVariablesToInclude, includeAllVariables, isIncludeAllVariables, retrieveNode, retrieveProcessDefinition, retrieveProcessInstance, retrieveTaskInstanceDetails, retrieveToken, retrieveVariables, retrieveVariables, setIncludeAllVariables, setJbpmContext, setVariablesToInclude, setVariablesToInclude, variablesToInclude, variablesToInclude |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GetProcessDefinitionsCommand
public GetProcessDefinitionsCommand()
GetProcessDefinitionsCommand
public GetProcessDefinitionsCommand(boolean onlyLatest)
execute
public java.lang.Object execute(JbpmContext jbpmContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
isOnlyLatest
public boolean isOnlyLatest()
setOnlyLatest
public void setOnlyLatest(boolean onlyLatest)
getAdditionalToStringInformation
public java.lang.String getAdditionalToStringInformation()
- Overrides:
getAdditionalToStringInformation in class AbstractBaseCommand
onlyLatest
public GetProcessDefinitionsCommand onlyLatest(boolean onlyLatest)
Copyright © 2010 JBoss Community. All Rights Reserved.