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 aGetDeploymentPropertiesusing the specified RunID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)Creates the XML Document for the request.java.lang.StringgetApplicationName()Returns the name of the Application.java.lang.StringgetComponentName()Returns the name of the component.protected java.lang.StringgetSrc()Returns the request source.java.lang.StringgetWorkflowName()Returns the name of the Workflow.protected voidhandleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)Sub classes extract the values from the XML document and provide public getter methods.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.-
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()
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?
-
isApplicationWorkflow
public boolean isApplicationWorkflow()
Returnstrueif 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()
Returnstrueif this workflow is a component workflow.- Returns:
- Component Workflow?
-
getApplicationName
public java.lang.String getApplicationName()
Returns the name of the Application.- Returns:
- Application or
nullif this is not a deployment workflow
-
getWorkflowName
public java.lang.String getWorkflowName()
Returns the name of the Workflow.- Returns:
- Workflow or
nullif this is not an application workflow
-
getComponentName
public java.lang.String getComponentName()
Returns the name of the component.- Returns:
- Component name or
nullif this is not a component workflow
-
getSrc
protected java.lang.String getSrc()
Description copied from class:XMLRequestReturns the request source. This method is used internally.- Specified by:
getSrcin classXMLRequest- Returns:
- Source
-
createRequest
protected void createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)Description copied from class:XMLRequestCreates the XML Document for the request. This method is used internally.- Specified by:
createRequestin 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:XMLRequestSub classes extract the values from the XML document and provide public getter methods.- Overrides:
handleContentin classXMLRequest- Parameters:
doc- XML Documentsession- Info about the user session
-
-