Package com.uc4.communication.requests
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 Summary
Constructors Constructor Description GetDeploymentProperties(int runID)
Constructs aGetDeploymentProperties
using the specified RunID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)
Creates the XML Document for the request.java.lang.String
getApplicationName()
Returns the name of the Application.java.lang.String
getComponentName()
Returns the name of the component.protected java.lang.String
getSrc()
Returns the request source.java.lang.String
getWorkflowName()
Returns the name of the Workflow.protected void
handleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
Sub classes extract the values from the XML document and provide public getter methods.boolean
isApplicationWorkflow()
Returnstrue
if the type of this deployment ProcessFlow is application workflow.boolean
isComponentWorkflow()
Returnstrue
if this workflow is a component workflow.boolean
isNormalWorkflow()
Returnstrue
if this is a normal workflow which is has not been enabled for deployment.-
Methods inherited from class com.uc4.communication.requests.XMLRequest
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, isAllowedInClientZero, send, setMessageBox, showQuarantineNotification
-
-
-
-
Method Detail
-
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?
-
isApplicationWorkflow
public boolean isApplicationWorkflow()
Returnstrue
if the type of this deployment ProcessFlow is application workflow. If this is normal workflow, or 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?
-
getApplicationName
public java.lang.String getApplicationName()
Returns the name of the Application.- Returns:
- Application or
null
if this is not a deployment workflow
-
getWorkflowName
public java.lang.String getWorkflowName()
Returns the name of the Workflow.- Returns:
- Workflow or
null
if this is not an application workflow
-
getComponentName
public java.lang.String getComponentName()
Returns the name of the component.- Returns:
- Component name or
null
if this is not a component workflow
-
getSrc
protected java.lang.String getSrc()
Description copied from class:XMLRequest
Returns the request source. This method is used internally.- Specified by:
getSrc
in classXMLRequest
- Returns:
- Source
-
createRequest
protected void createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.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 classXMLRequest
- Parameters:
doc
- Document, used to create new Elementsrequest
- Request Element - classes append information to this request elementsessionInfo
- 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 classXMLRequest
- Parameters:
doc
- XML Documentsession
- Info about the user session
-
-