java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.Rule
Bekannte direkte Unterklassen:
TeamAssignmentRule

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class Rule extends Object
Rule
  • Felddetails

    • active

      protected Boolean active
      This rule is active
    • attributeContexts

      protected List<String> attributeContexts
      Context(s) of the attribute used in rule expression
    • description

      protected String description
      Rule Description
    • id

      protected String id
      A unique ID for the rule
    • name

      protected String name
      Rule name
    • owner

      protected String owner
      Owner of this rule asset
    • ruleExpressions

      protected List<RuleExpression> ruleExpressions
      Rule condition is defined using ruleExpressions
    • ruleLogicalOperator

      protected String ruleLogicalOperator
      Logical operator (AND / OR) that should be used to evaluate Rule expression
    • ruleType

      protected Rule.RuleTypeEnum ruleType
      Type of the rule
  • Konstruktordetails

    • Rule

      public Rule(Consumer<Rule> spec)
      Constructs a validated instance of Rule.
      Parameter:
      spec - the specification to process
    • Rule

      @Internal public Rule(Boolean active, List<String> attributeContexts, String description, String id, String name, String owner, List<RuleExpression> ruleExpressions, String ruleLogicalOperator, Rule.RuleTypeEnum ruleType)
      Constructs a validated instance of Rule.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Rule(Consumer) instead.

      Parameter:
      active - This rule is active
      attributeContexts - Context(s) of the attribute used in rule expression
      description - Rule Description
      id - A unique ID for the rule
      name - Rule name
      owner - Owner of this rule asset
      ruleExpressions - Rule condition is defined using ruleExpressions
      ruleLogicalOperator - Logical operator (AND / OR) that should be used to evaluate Rule expression
      ruleType - Type of the rule
    • Rule

      protected Rule()
  • Methodendetails

    • builder

      public static Rule.RuleBuilder builder()
    • active

      public Boolean active()
      This rule is active
    • attributeContexts

      public List<String> attributeContexts()
      Context(s) of the attribute used in rule expression
    • description

      public String description()
      Rule Description
    • id

      public String id()
      A unique ID for the rule
    • name

      public String name()
      Rule name
    • owner

      public String owner()
      Owner of this rule asset
    • ruleExpressions

      public List<RuleExpression> ruleExpressions()
      Rule condition is defined using ruleExpressions
    • ruleLogicalOperator

      public String ruleLogicalOperator()
      Logical operator (AND / OR) that should be used to evaluate Rule expression
    • ruleType

      public Rule.RuleTypeEnum ruleType()
      Type of the rule
    • active

      public Rule active(Boolean active)
      This rule is active
      Gibt zurück:
      this.
    • attributeContexts

      public Rule attributeContexts(List<String> attributeContexts)
      Context(s) of the attribute used in rule expression
      Gibt zurück:
      this.
    • description

      public Rule description(String description)
      Rule Description
      Gibt zurück:
      this.
    • id

      public Rule id(String id)
      A unique ID for the rule
      Gibt zurück:
      this.
    • name

      public Rule name(String name)
      Rule name
      Gibt zurück:
      this.
    • owner

      public Rule owner(String owner)
      Owner of this rule asset
      Gibt zurück:
      this.
    • ruleExpressions

      public Rule ruleExpressions(List<RuleExpression> ruleExpressions)
      Rule condition is defined using ruleExpressions
      Gibt zurück:
      this.
    • ruleLogicalOperator

      public Rule ruleLogicalOperator(String ruleLogicalOperator)
      Logical operator (AND / OR) that should be used to evaluate Rule expression
      Gibt zurück:
      this.
    • ruleType

      public Rule ruleType(Rule.RuleTypeEnum ruleType)
      Type of the rule
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object