org.jbpm.command
Class GetProcessDefinitionsCommand
java.lang.Object
org.jbpm.command.AbstractBaseCommand
org.jbpm.command.AbstractGetObjectBaseCommand
org.jbpm.command.GetProcessDefinitionsCommand
- All Implemented Interfaces:
- 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 |
GetProcessDefinitionsCommand
public GetProcessDefinitionsCommand()
GetProcessDefinitionsCommand
public GetProcessDefinitionsCommand(boolean onlyLatest)
execute
public Object execute(JbpmContext jbpmContext)
throws Exception
- Throws:
Exception
isOnlyLatest
public boolean isOnlyLatest()
setOnlyLatest
public void setOnlyLatest(boolean onlyLatest)
getAdditionalToStringInformation
public String getAdditionalToStringInformation()
- Overrides:
getAdditionalToStringInformation in class AbstractBaseCommand
onlyLatest
public GetProcessDefinitionsCommand onlyLatest(boolean onlyLatest)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.