Class RuleThen

java.lang.Object
edu.internet2.middleware.grouper.rules.RuleThen

public class RuleThen extends Object
rule then part
  • Constructor Details

    • RuleThen

      public RuleThen()
    • RuleThen

      public RuleThen(String thenEl1, String thenEnum1, String _thenEnumArg0, String _thenEnumArg1, String _thenEnumArg2)
      Parameters:
      thenEl1 -
      thenEnum1 -
      _thenEnumArg0 -
      _thenEnumArg1 -
      _thenEnumArg2 -
  • Method Details

    • getThenEnumArg0

      public String getThenEnumArg0()
      arg0 to the then clause
      Returns:
      arg0
    • setThenEnumArg0

      public void setThenEnumArg0(String theThenEnumArg0)
      arg0 to the then clause
      Parameters:
      theThenEnumArg0 -
    • getThenEnumArg1

      public String getThenEnumArg1()
      Returns:
      arg1
    • setThenEnumArg1

      public void setThenEnumArg1(String theThenEnumArg1)
      then enum arg1
      Parameters:
      theThenEnumArg1 -
    • getThenEnumArg2

      public String getThenEnumArg2()
      arg2 to the then clause
      Returns:
      arg2 to the then clause
    • setThenEnumArg2

      public void setThenEnumArg2(String _thenEnumArg2)
      arg2 to the then clause
      Parameters:
      _thenEnumArg2 -
    • getThenEl

      public String getThenEl()
      if it is an el, put that here
      Returns:
      el
    • setThenEl

      public void setThenEl(String thenEl1)
      if it is an el, put that here
      Parameters:
      thenEl1 -
    • getThenEnum

      public String getThenEnum()
      if it is an enum, put that here
      Returns:
      enum
    • setThenEnum

      public void setThenEnum(String thenEnum1)
      if it is an enum, put that here
      Parameters:
      thenEnum1 -
    • thenEnum

      public RuleThenEnum thenEnum()
      convert the type to an enum
      Returns:
      rule check type
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • validate

      public String validate(RuleDefinition ruleDefinition)
      validate this
      Parameters:
      ruleDefinition -
      Returns:
      error or null if ok
    • fireRule

      public void fireRule(RuleDefinition ruleDefinition, RuleEngine ruleEngine, RulesBean rulesBean, StringBuilder logDataForThisDefinition)
      fire this rule
      Parameters:
      ruleDefinition -
      ruleEngine -
      rulesBean -
      logDataForThisDefinition - if logger if logging, else not