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 aGetDeploymentProperties
using the specified RunID. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createRequest
(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 String
getSrc()
Returns the request source.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
Returnstrue
if the type of this deployment ProcessFlow is application workflow.boolean
Returnstrue
if this workflow is a component workflow.boolean
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
-
Constructor Details
-
GetDeploymentProperties
public GetDeploymentProperties(int runID) Constructs aGetDeploymentProperties
using the specified RunID.- Parameters:
runID
- RunID of the workflow
-
-
Method Details
-
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
Returns the name of the Application.- Returns:
- Application or
null
if this is not a deployment workflow
-
getWorkflowName
Returns the name of the Workflow.- Returns:
- Workflow or
null
if this is not an application workflow
-
getComponentName
Returns the name of the component.- Returns:
- Component name or
null
if this is not a component workflow
-
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, 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
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
-