Package com.uc4.communication.requests
Class GetDeploymentProperties
java.lang.Object
com.uc4.communication.requests.XMLRequest
com.uc4.communication.requests.GetDeploymentProperties
read the deployment properties (Deployment Tab) after the task was activated (EH).
-
Constructor Summary
ConstructorsConstructorDescriptionGetDeploymentProperties(int runID) Constructs aGetDeploymentPropertiesusing the specified RunID. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateRequest(com.uc4.util.XMLDocument doc, Element request, ConnectionAttributes sessionInfo) Creates the XML Document for the request.Returns the name of the Application.Returns the name of the component.protected StringgetSrc()Returns the request source.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.booleanReturnstrueif the type of this deployment ProcessFlow is application workflow.booleanReturnstrueif this workflow is a component workflow.booleanReturnstrueif 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
-
Constructor Details
-
GetDeploymentProperties
public GetDeploymentProperties(int runID) Constructs aGetDeploymentPropertiesusing the specified RunID.- Parameters:
runID- RunID of the workflow
-
-
Method Details
-
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
Returns the name of the Application.- Returns:
- Application or
nullif this is not a deployment workflow
-
getWorkflowName
Returns the name of the Workflow.- Returns:
- Workflow or
nullif this is not an application workflow
-
getComponentName
Returns the name of the component.- Returns:
- Component name or
nullif this is not a component workflow
-
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, 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
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
-