ilog.rules.teamserver.model
Class IlrRuleAppDeploymentOperation
- java.lang.Object
-
- ilog.rules.teamserver.model.IlrRuleAppDeploymentOperation
-
- All Implemented Interfaces:
- java.io.Serializable
public class IlrRuleAppDeploymentOperation extends java.lang.Object implements java.io.Serializable
A RuleApp deployment operation represents an operation done on a RuleApp during deployment on the Rule Execution Server.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
ADD
RuleApp/Ruleset added on the RES.static java.lang.String
CHANGE_VERSION_AND_ADD
RuleApp/Ruleset modified (version changed and element added) on the RES.static java.lang.String
REPLACE
RuleApp/Ruleset replaced on the RES.static java.lang.String
UPDATE
RuleApp/ruleset updated on the RES.
-
Constructor Summary
Constructors Constructor and Description IlrRuleAppDeploymentOperation(java.lang.String operationType, ilog.rules.res.model.IlrPath submittedPath, ilog.rules.res.model.IlrPath deployedPath)
Constructs a new deployment operation.
-
Method Summary
Methods Modifier and Type Method and Description ilog.rules.res.model.IlrPath
getDeployedPath()
Returns the path deployed on the Rule Execution Server according to the versioning policy chosen.java.lang.String
getOperationType()
Returns the type of operation done during deployment on the Rule Execution Server.ilog.rules.res.model.IlrPath
getSubmittedPath()
Returns the path submitted on deployment.java.lang.String
toString()
-
-
-
Field Detail
-
UPDATE
public static final java.lang.String UPDATE
RuleApp/ruleset updated on the RES.- See Also:
- Constant Field Values
-
ADD
public static final java.lang.String ADD
RuleApp/Ruleset added on the RES.- See Also:
- Constant Field Values
-
CHANGE_VERSION_AND_ADD
public static final java.lang.String CHANGE_VERSION_AND_ADD
RuleApp/Ruleset modified (version changed and element added) on the RES.- See Also:
- Constant Field Values
-
REPLACE
public static final java.lang.String REPLACE
RuleApp/Ruleset replaced on the RES.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IlrRuleAppDeploymentOperation
public IlrRuleAppDeploymentOperation(java.lang.String operationType, ilog.rules.res.model.IlrPath submittedPath, ilog.rules.res.model.IlrPath deployedPath)
Constructs a new deployment operation.- Parameters:
operationType
- The type of operation done on the Rule Execution Server (UPDATE, ADD, CHANGE_VERSION_AND_ADD, REPLACE).submittedPath
- The RuleApp/ruleset path submitted.deployedPath
- The RuleApp/ruleset path deployed.
-
-
Method Detail
-
getOperationType
public java.lang.String getOperationType()
Returns the type of operation done during deployment on the Rule Execution Server.- Returns:
- One of UPDATE, ADD, CHANGE_VERSION_AND_ADD, REPLACE.
-
getSubmittedPath
public ilog.rules.res.model.IlrPath getSubmittedPath()
Returns the path submitted on deployment.- Returns:
- The path submitted by Decision Center.
-
getDeployedPath
public ilog.rules.res.model.IlrPath getDeployedPath()
Returns the path deployed on the Rule Execution Server according to the versioning policy chosen.- Returns:
- The path deployed on the Rule Execution Server.
- See Also:
IlrDeploymentFacility
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-