Package com.uc4.api.objects
Class Deployment
- java.lang.Object
-
- com.uc4.api.objects.Deployment
-
public class Deployment extends java.lang.ObjectThis class represents the deployment tab of a ProcessFlow.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeployment(com.uc4.util.XMLDocument doc)Constructs aRollbackobject from the specifiedXMLDocument
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetApplicationName()Returns the name of the Application.java.lang.StringgetComponentName()Returns the name of the component .java.lang.StringgetWorkflowName()Returns the name of the Workflow .booleanisApplicationWorkflow()Returnstrueif the type of this deployment ProcessFlow is application workflow.booleanisComponentWorkflow()Returnstrueif this workflow is a component workflow.booleanisNormalWorkflow()Returnstrueif this is a normal workflow which is has not been enabled for deployment.voidsetApplicationWorkflow(java.lang.String applicationName, java.lang.String workflowName)Selects Application Workflow as type for this deployment ProcessFlow.voidsetComponentWorkflow(java.lang.String applicationName, java.lang.String componentName)Selects component workflow as type of this ProcessFlow.voidsetNormalWorkflow()Changes the workflow type to a normal workflow and disables the deployment settings.protected voidstore(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement)Stores the data of this class in the specified XML document
-
-
-
Method Detail
-
store
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement)Stores the data of this class in the specified XML document- Parameters:
doc- DocumentobjectElement- Object element
-
setApplicationWorkflow
public void setApplicationWorkflow(java.lang.String applicationName, java.lang.String workflowName)Selects Application Workflow as type for this deployment ProcessFlow.- Parameters:
applicationName- Name of the ApplicationworkflowName- Name of the Workflow
-
setNormalWorkflow
public void setNormalWorkflow()
Changes the workflow type to a normal workflow and disables the deployment settings.
-
getApplicationName
public java.lang.String getApplicationName()
Returns the name of the Application.- Returns:
- Application or
nullif this is not deployment ProcessFlow
-
getWorkflowName
public java.lang.String getWorkflowName()
Returns the name of the Workflow .- Returns:
- Workflow or
nullif this is not deployment ProcessFlow
-
isApplicationWorkflow
public boolean isApplicationWorkflow()
Returnstrueif the type of this deployment ProcessFlow is application workflow. If this is a component workflow the return value isfalse- Returns:
- Application Workflow?
-
isComponentWorkflow
public boolean isComponentWorkflow()
Returnstrueif this workflow is a component workflow.- Returns:
- Component Workflow?
-
isNormalWorkflow
public boolean isNormalWorkflow()
Returnstrueif this is a normal workflow which is has not been enabled for deployment. If the return value isfalsethe workflow is either an application workflow or a component workflow.- Returns:
- Normal Workflow?
-
setComponentWorkflow
public void setComponentWorkflow(java.lang.String applicationName, java.lang.String componentName)Selects component workflow as type of this ProcessFlow.- Parameters:
applicationName- Name of the ApplicationcomponentName- Name of the component
-
getComponentName
public java.lang.String getComponentName()
Returns the name of the component .- Returns:
- Component name or
nullif this is not a component workflow
-
-