Class RuleImpl.WithoutApplierWithPostApplyCbState

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

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

    • WithoutApplierWithPostApplyCbState

      protected WithoutApplierWithPostApplyCbState()
  • 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