com.ibm.wbiserver.brules.mgmt.problem
Class ProblemRuleNameAlreadyInUse
- java.lang.Object
com.ibm.wbiserver.brules.mgmt.problem.Problem
com.ibm.wbiserver.brules.mgmt.problem.ProblemRuleNameAlreadyInUse
All implemented interfaces:
java.io.Serializable
- public class ProblemRuleNameAlreadyInUse
- extends Problem
- implements java.io.Serializable
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Constructor Summary
Constructor and Description |
---|
ProblemRuleNameAlreadyInUse(java.lang.String newRuleName,Rule existingRuleUsingName,RuleBlock ruleBlock)
Constructor for the ProblemRuleNameAlreadyInUse class.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getErrorMessage()
|
getExistingRuleUsingName()
Get the existing rule that is already using the name.
|
|
|
getNewRuleName()
Get the name of the new rule that is in error.
|
getRuleBlock()
Get the rule block to which the rule was being added.
|
Methods inherited from class com.ibm.wbiserver.brules.mgmt.problem.Problem |
---|
getErrorType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
Constructor Detail
ProblemRuleNameAlreadyInUse
- public ProblemRuleNameAlreadyInUse( java.lang.String newRuleName,
- Rule existingRuleUsingName,
- RuleBlock ruleBlock)
Constructor for the ProblemRuleNameAlreadyInUse class.
Parameters:
newRuleName
- The name of the new rule for the rule block. existingRuleUsingName
- The existing rule that is already using the name. ruleBlock
- The rule block to which the rule was being added. Method Detail
getExistingRuleUsingName
- public Rule getExistingRuleUsingName( )
Get the existing rule that is already using the name.
Returns:
The existing rule that is already using the name.
getNewRuleName
- public java.lang.String getNewRuleName( )
Get the name of the new rule that is in error.
Returns:
The name of the new rule that is in error.
getRuleBlock
- public RuleBlock getRuleBlock()
Get the rule block to which the rule was being added.
Returns:
The rule block to which the rule was being added.
getErrorMessage
- public java.lang.String getErrorMessage( )
Specified by:
getErrorMessage
in class Problem