org.jbpm.command
Class DeployProcessCommand
java.lang.Object
org.jbpm.command.AbstractBaseCommand
org.jbpm.command.AbstractGetObjectBaseCommand
org.jbpm.command.DeployProcessCommand
- All Implemented Interfaces:
- Serializable, Command
public class DeployProcessCommand
- extends AbstractGetObjectBaseCommand
Deploys a process, given as XML-String or process archive.
If both are given, the byte-array will be preferred The deployed process definition is
returned
- 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 |
DeployProcessCommand
public DeployProcessCommand()
DeployProcessCommand
public DeployProcessCommand(byte[] par)
DeployProcessCommand
public DeployProcessCommand(String xml)
execute
public Object execute(JbpmContext jbpmContext)
throws Exception
- Returns:
- deployed ProcessDefinition
- Throws:
Exception
getPar
public byte[] getPar()
setPar
public void setPar(byte[] par)
getXml
public String getXml()
setXml
public void setXml(String xml)
xml
public DeployProcessCommand xml(String xml)
par
public DeployProcessCommand par(byte[] par)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.