org.jbpm.command
Class DeployProcessCommand
java.lang.Object
org.jbpm.command.AbstractBaseCommand
org.jbpm.command.AbstractGetObjectBaseCommand
org.jbpm.command.DeployProcessCommand
- All Implemented Interfaces:
- java.io.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DeployProcessCommand
public DeployProcessCommand()
DeployProcessCommand
public DeployProcessCommand(byte[] par)
DeployProcessCommand
public DeployProcessCommand(java.lang.String xml)
execute
public java.lang.Object execute(JbpmContext jbpmContext)
throws java.lang.Exception
- Returns:
- deployed ProcessDefinition
- Throws:
java.lang.Exception
getPar
public byte[] getPar()
setPar
public void setPar(byte[] par)
getXml
public java.lang.String getXml()
setXml
public void setXml(java.lang.String xml)
xml
public DeployProcessCommand xml(java.lang.String xml)
par
public DeployProcessCommand par(byte[] par)
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.