Class RuleImpl.WithApplierWithoutPostApplyCbState

java.lang.Object
org.eclipse.m2m.atl.emftvm.impl.RuleImpl.ApplierCbState
org.eclipse.m2m.atl.emftvm.impl.RuleImpl.WithApplierWithoutPostApplyCbState
Enclosing class:
RuleImpl

protected class RuleImpl.WithApplierWithoutPostApplyCbState extends RuleImpl.ApplierCbState
RuleImpl.ApplierCbState class for rules that have a Rule.getApplier() code block and no Rule.getPostApply() code block.
  • Constructor Details

    • WithApplierWithoutPostApplyCbState

      protected WithApplierWithoutPostApplyCbState()
  • Method Details

    • applyFor

      public Object applyFor(StackFrame frame, TraceLink trace)
      Applies this rule for the given trace.
      Specified by:
      applyFor in class RuleImpl.ApplierCbState
      Parameters:
      frame - the stack frame context
      trace - the trace link to apply the rule for
      Returns:
      the application result
    • postApplyFor

      public Object postApplyFor(StackFrame frame, TraceLink trace)
      Post-applies this rule for the given trace.
      Specified by:
      postApplyFor in class RuleImpl.ApplierCbState
      Parameters:
      frame - the stack frame context
      trace - the trace link to postApply the rule for
      Returns:
      the application result