Decision Center API

ilog.rules.teamserver.model
Class IlrRuleAppDeploymentOperation

java.lang.Object
  extended by ilog.rules.teamserver.model.IlrRuleAppDeploymentOperation
All Implemented Interfaces:
Serializable

public class IlrRuleAppDeploymentOperation
extends Object
implements Serializable

A RuleApp deployment operation represents an operation done on a RuleApp during deployment on the Rule Execution Server.

See Also:
IlrRuleAppDeploymentReport, IlrDeploymentFacility.deployRuleAppArchive(IlrElementHandle, String, String, String, String, String, int), Serialized Form

Field Summary
static String ADD
          RuleApp/Ruleset added on the RES.
static String CHANGE_VERSION_AND_ADD
          RuleApp/Ruleset modified (version changed and element added) on the RES.
static String REPLACE
          RuleApp/Ruleset replaced on the RES.
static String UPDATE
          RuleApp/ruleset updated on the RES.
 
Constructor Summary
IlrRuleAppDeploymentOperation(String operationType, ilog.rules.res.model.IlrPath submittedPath, ilog.rules.res.model.IlrPath deployedPath)
          Constructs a new deployment operation.
 
Method Summary
 ilog.rules.res.model.IlrPath getDeployedPath()
          Returns the path deployed on the Rule Execution Server according to the versioning policy chosen.
 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.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UPDATE

public static final String UPDATE
RuleApp/ruleset updated on the RES.

See Also:
Constant Field Values

ADD

public static final String ADD
RuleApp/Ruleset added on the RES.

See Also:
Constant Field Values

CHANGE_VERSION_AND_ADD

public static final 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 String REPLACE
RuleApp/Ruleset replaced on the RES.

See Also:
Constant Field Values
Constructor Detail

IlrRuleAppDeploymentOperation

public IlrRuleAppDeploymentOperation(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 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 String toString()
Overrides:
toString in class Object

Decision Center API

© Copyright IBM Corp. 1987, 2013