|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.res.model.IlrPath
public class IlrPath
IlrPath
represents the path to a RuleApp or a ruleset.
Constructor Summary | |
---|---|
IlrPath(String ruleAppName)
Constructs a new RuleApp path with no version. |
|
IlrPath(String ruleAppName,
IlrVersion ruleAppVersion)
Constructs a new RuleApp path. |
|
IlrPath(String ruleAppName,
IlrVersion ruleAppVersion,
String rulesetName)
Constructs a ruleset path with no version number. |
|
IlrPath(String ruleAppName,
IlrVersion ruleAppVersion,
String rulesetName,
IlrVersion rulesetVersion)
Constructs a new canonical ruleset path. |
|
IlrPath(String ruleAppName,
String rulesetName)
Constructs a new ruleset path with no version number. |
|
IlrPath(String ruleAppName,
String rulesetName,
IlrVersion rulesetVersion)
Constructs a new ruleset path with no RuleApp version. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getRuleAppName()
Returns the RuleApp name. |
IlrVersion |
getRuleAppVersion()
Returns the RuleApp version. |
String |
getRulesetName()
Returns the ruleset name. |
IlrVersion |
getRulesetVersion()
Returns the ruleset version. |
int |
hashCode()
|
boolean |
isCanonical()
Checks if the path is canonical. |
boolean |
isRuleAppPath()
Checks if this path points to a RuleApp. |
boolean |
isRulesetPath()
Checks if this path points to a ruleset. |
static IlrPath |
parsePath(String path)
Returns an IlrPath object that represents the path of the RuleApp or the ruleset specified by a string. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IlrPath(String ruleAppName)
ruleAppName
- The RuleApp name. This parameter cannot be set to null
.public IlrPath(String ruleAppName, IlrVersion ruleAppVersion)
ruleAppName
- The RuleApp name. This parameter cannot be set to null
.ruleAppVersion
- The RuleApp version.public IlrPath(String ruleAppName, String rulesetName, IlrVersion rulesetVersion)
ruleAppName
- The RuleApp name. This parameter cannot be set to null
.rulesetName
- The ruleset name.rulesetVersion
- The ruleset version.public IlrPath(String ruleAppName, String rulesetName)
ruleAppName
- The RuleApp name. This parameter cannot be set to null
.rulesetName
- The ruleset name.public IlrPath(String ruleAppName, IlrVersion ruleAppVersion, String rulesetName)
ruleAppName
- The RuleApp name. This parameter cannot be set to null
.ruleAppVersion
- The RuleApp version.rulesetName
- The ruleset name.public IlrPath(String ruleAppName, IlrVersion ruleAppVersion, String rulesetName, IlrVersion rulesetVersion)
ruleAppName
- The RuleApp name. This parameter cannot be set to null
.ruleAppVersion
- The RuleApp version.rulesetName
- The ruleset name.rulesetVersion
- The ruleset version.Method Detail |
---|
public static IlrPath parsePath(String path) throws IlrFormatException
IlrPath
object that represents the path of the RuleApp or the ruleset specified by a string.
IlrFormatException
- if path
is not in the correct format.path
- The string to be parsed.
IlrPath
object representing the path of either the RuleApp or the ruleset specified by path
.isRuleAppPath()
,
isRulesetPath()
public String getRuleAppName()
null
.public IlrVersion getRuleAppVersion()
null
is returned.public String getRulesetName()
null
is returned.public IlrVersion getRulesetVersion()
null
is returned.public boolean isRuleAppPath()
true
is returned.public boolean isRulesetPath()
true
is returned.public boolean isCanonical()
true
is returned.public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |