Package com.uc4.api.objects
Class Deployment
java.lang.Object
com.uc4.api.objects.Deployment
This class represents the deployment tab of a ProcessFlow.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Deployment
(com.uc4.util.XMLDocument doc) Constructs aRollback
object from the specifiedXMLDocument
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the Application.Returns the name of the component .Returns the name of the Workflow .boolean
Returnstrue
if the type of this deployment ProcessFlow is application workflow.boolean
Returnstrue
if this workflow is a component workflow.boolean
Returnstrue
if this is a normal workflow which is has not been enabled for deployment.void
setApplicationWorkflow
(String applicationName, String workflowName) Selects Application Workflow as type for this deployment ProcessFlow.void
setComponentWorkflow
(String applicationName, String componentName) Selects component workflow as type of this ProcessFlow.void
Changes the workflow type to a normal workflow and disables the deployment settings.protected void
Stores the data of this class in the specified XML document
-
Constructor Details
-
Deployment
protected Deployment(com.uc4.util.XMLDocument doc) Constructs aRollback
object from the specifiedXMLDocument
- Parameters:
doc
- XML Document
-
-
Method Details
-
store
Stores the data of this class in the specified XML document- Parameters:
doc
- DocumentobjectElement
- Object element
-
setApplicationWorkflow
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
Returns the name of the Application.- Returns:
- Application or
null
if this is not deployment ProcessFlow
-
getWorkflowName
Returns the name of the Workflow .- Returns:
- Workflow or
null
if this is not deployment ProcessFlow
-
isApplicationWorkflow
public boolean isApplicationWorkflow()Returnstrue
if 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()Returnstrue
if this workflow is a component workflow.- Returns:
- Component Workflow?
-
isNormalWorkflow
public boolean isNormalWorkflow()Returnstrue
if this is a normal workflow which is has not been enabled for deployment. If the return value isfalse
the workflow is either an application workflow or a component workflow.- Returns:
- Normal Workflow?
-
setComponentWorkflow
Selects component workflow as type of this ProcessFlow.- Parameters:
applicationName
- Name of the ApplicationcomponentName
- Name of the component
-
getComponentName
Returns the name of the component .- Returns:
- Component name or
null
if this is not a component workflow
-