Class GetDeploymentProperties

java.lang.Object
com.uc4.communication.requests.XMLRequest
com.uc4.communication.requests.GetDeploymentProperties

public class GetDeploymentProperties extends XMLRequest
read the deployment properties (Deployment Tab) after the task was activated (EH).
  • Constructor Details

    • GetDeploymentProperties

      public GetDeploymentProperties(int runID)
      Constructs a GetDeploymentProperties using the specified RunID.
      Parameters:
      runID - RunID of the workflow
  • Method Details

    • 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?
    • isApplicationWorkflow

      public boolean isApplicationWorkflow()
      Returns true if the type of this deployment ProcessFlow is application workflow. If this is normal workflow, or 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?
    • getApplicationName

      public String getApplicationName()
      Returns the name of the Application.
      Returns:
      Application or null if this is not a deployment workflow
    • getWorkflowName

      public String getWorkflowName()
      Returns the name of the Workflow.
      Returns:
      Workflow or null if this is not an application workflow
    • getComponentName

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

      protected String getSrc()
      Description copied from class: XMLRequest
      Returns the request source. This method is used internally.
      Specified by:
      getSrc in class XMLRequest
      Returns:
      Source
    • createRequest

      protected void createRequest(com.uc4.util.XMLDocument doc, Element request, ConnectionAttributes sessionInfo)
      Description copied from class: XMLRequest
      Creates the XML Document for the request. This method is used internally.
      Specified by:
      createRequest in class XMLRequest
      Parameters:
      doc - Document, used to create new Elements
      request - Request Element - classes append information to this request element
      sessionInfo - Information about the session
    • handleContent

      protected void handleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
      Description copied from class: XMLRequest
      Sub classes extract the values from the XML document and provide public getter methods.
      Overrides:
      handleContent in class XMLRequest
      Parameters:
      doc - XML Document
      session - Info about the user session