public class Deployment
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
Deployment(com.uc4.util.XMLDocument doc)
Constructs a
Rollback object from the specified XMLDocument |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplicationName()
Returns the name of the Application.
|
java.lang.String |
getComponentName()
Returns the name of the component .
|
java.lang.String |
getWorkflowName()
Returns the name of the Workflow .
|
boolean |
isApplicationWorkflow()
Returns
true if the type of this deployment ProcessFlow is application workflow. |
boolean |
isComponentWorkflow()
Returns
true if this workflow is a component workflow. |
boolean |
isNormalWorkflow()
Returns
true if this is a normal workflow which is has not been enabled for deployment. |
void |
setApplicationWorkflow(java.lang.String applicationName,
java.lang.String workflowName)
Selects Application Workflow as type for this deployment ProcessFlow.
|
void |
setComponentWorkflow(java.lang.String applicationName,
java.lang.String componentName)
Selects component workflow as type of this ProcessFlow.
|
void |
setNormalWorkflow()
Changes the workflow type to a normal workflow and disables the deployment settings.
|
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element objectElement)
Stores the data of this class in the specified XML document
|
protected Deployment(com.uc4.util.XMLDocument doc)
Rollback
object from the specified XMLDocument
doc
- XML Documentprotected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement)
doc
- DocumentobjectElement
- Object elementpublic void setApplicationWorkflow(java.lang.String applicationName, java.lang.String workflowName)
applicationName
- Name of the ApplicationworkflowName
- Name of the Workflowpublic void setNormalWorkflow()
public java.lang.String getApplicationName()
null
if this is not deployment ProcessFlowpublic java.lang.String getWorkflowName()
null
if this is not deployment ProcessFlowpublic boolean isApplicationWorkflow()
true
if the type of this deployment ProcessFlow is application workflow.
If this is a component workflow the return value is false
public boolean isComponentWorkflow()
true
if this workflow is a component workflow.public boolean isNormalWorkflow()
true
if this is a normal workflow which is has not been enabled for deployment.
If the return value is false
the workflow is either an application workflow or a component workflow.public void setComponentWorkflow(java.lang.String applicationName, java.lang.String componentName)
applicationName
- Name of the ApplicationcomponentName
- Name of the componentpublic java.lang.String getComponentName()
null
if this is not a component workflow