Package org.jboss.byteman.contrib.dtest
Class RuleConstructor.ActionClause
- java.lang.Object
-
- org.jboss.byteman.contrib.dtest.RuleConstructor.ActionClause
-
- Enclosing class:
- RuleConstructor
public final class RuleConstructor.ActionClause extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ActionClause()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleConstructor
doAction(java.lang.String... actions)
Definition of actions for the rule.
-
-
-
Method Detail
-
doAction
public RuleConstructor doAction(java.lang.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
-
-