Class RuleConstructor.ActionClause

java.lang.Object
org.jboss.byteman.contrib.dtest.RuleConstructor.ActionClause
Enclosing class:
RuleConstructor

public final class RuleConstructor.ActionClause extends Object
  • Constructor Details

    • ActionClause

      public ActionClause()
  • Method Details

    • doAction

      public RuleConstructor doAction(String... actions)

      Definition of actions for the rule.

      When called as

      doAction("debug(\"killing JVM\")", "killJVM()")

      rule looks

      DO debug("killing JVM"); killJVM()

      Parameters:
      actions - actions definitions to be part of the rule
      Returns:
      this, for having fluent api