|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectilog.rules.res.model.IlrPath
public class IlrPath
The IlrPath
class represents the path to a RuleApp or a ruleset.
Constructor Summary | |
---|---|
IlrPath(String ruleAppName)
Constructs a new RuleApp path with no version number. |
|
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 number. |
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 number. |
int |
hashCode()
|
boolean |
isCanonical()
Checks whether the path is canonical. |
boolean |
isRuleAppPath()
Checks whether this path points to a RuleApp. |
boolean |
isRulesetPath()
Checks whether 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 number.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 numbefr.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 number.rulesetName
- The ruleset name.rulesetVersion
- The ruleset version number.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 the
path
parameter.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
if this path points to a ruleset.public boolean isCanonical()
true
if the path is canonical.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 |