Class RuleSchema

java.lang.Object
com.helix.core.parser.RuleSchema
All Implemented Interfaces:
Rule

public class RuleSchema extends Object implements Rule
Data structure representing a parsed Rule definition with metadata and schema validation.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: Rule
      Gets the unique name of the rule.
      Specified by:
      getName in interface Rule
      Returns:
      rule name
    • getVersion

      public String getVersion()
      Description copied from interface: Rule
      Gets the version of the rule.
      Specified by:
      getVersion in interface Rule
      Returns:
      rule version
    • getDescription

      public String getDescription()
      Description copied from interface: Rule
      Gets a description of what the rule does.
      Specified by:
      getDescription in interface Rule
      Returns:
      rule description
    • getCategory

      public String getCategory()
    • getExpression

      public String getExpression()
      Description copied from interface: Rule
      Gets the raw expression string representing the rule logic.
      Specified by:
      getExpression in interface Rule
      Returns:
      expression string
    • getInputSchema

      public Map<String,Class<?>> getInputSchema()
      Description copied from interface: Rule
      Gets the expected input schema mapping parameter names to expected types.
      Specified by:
      getInputSchema in interface Rule
      Returns:
      map of variable name to type class