com.ibm.wbiserver.brules.mgmt.problem

Class ProblemRuleNameAlreadyInUse

  • All Implemented Interfaces:
    java.io.Serializable


    public class ProblemRuleNameAlreadyInUse
    extends Problem
    implements java.io.Serializable
    Problem class representing the error that the name of the new rule being added to the rule block is already in use for another rule in that rule block.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT 
    • Constructor Summary

      Constructors 
      Constructor and Description
      ProblemRuleNameAlreadyInUse(java.lang.String newRuleName, Rule existingRuleUsingName, RuleBlock ruleBlock)
      Constructor for the ProblemRuleNameAlreadyInUse class.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getErrorMessage() 
      Rule getExistingRuleUsingName()
      Get the existing rule that is already using the name.
      java.lang.String getNewRuleName()
      Get the name of the new rule that is in error.
      RuleBlock getRuleBlock()
      Get the rule block to which the rule was being added.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
IBM Business Process ManagerTM
Release 8