Class Deployment


  • public class Deployment
    extends java.lang.Object
    This class represents the deployment tab of a ProcessFlow.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Deployment​(com.uc4.util.XMLDocument doc)
      Constructs a Rollback object from the specified XMLDocument
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Deployment

        protected Deployment​(com.uc4.util.XMLDocument doc)
        Constructs a Rollback object from the specified XMLDocument
        Parameters:
        doc - 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 - Document
        objectElement - 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 Application
        workflowName - 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 null if this is not deployment ProcessFlow
      • getWorkflowName

        public java.lang.String getWorkflowName()
        Returns the name of the Workflow .
        Returns:
        Workflow or null if this is not deployment ProcessFlow
      • isApplicationWorkflow

        public boolean isApplicationWorkflow()
        Returns true if the type of this deployment ProcessFlow is application workflow. If this is a component workflow the return value is false
        Returns:
        Application Workflow?
      • isComponentWorkflow

        public boolean isComponentWorkflow()
        Returns true if this workflow is a component workflow.
        Returns:
        Component Workflow?
      • isNormalWorkflow

        public boolean isNormalWorkflow()
        Returns 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.
        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 Application
        componentName - Name of the component
      • getComponentName

        public java.lang.String getComponentName()
        Returns the name of the component .
        Returns:
        Component name or null if this is not a component workflow