org.apache.tools.ant.taskdefs.optional.sitraka
Class Triggers.Method
java.lang.Object
org.apache.tools.ant.taskdefs.optional.sitraka.Triggers.Method
- Triggers
public static class Triggers.Method
extends java.lang.Object
A trigger for the coverage report
void | setAction(String value) - The action to execute; required.
|
void | setEvent(String value) - the event on the method that will trigger the action.
|
void | setName(String value) - The name of the method(s) as a regular expression.
|
void | setParam(String value) - A alphanumeric custom name for the snapshot; optional.
|
String | toString()
|
action
protected String action
event
protected String event
name
protected String name
param
protected String param
setAction
public void setAction(String value)
throws BuildException
The action to execute; required. Must be one of "clear",
"pause", "resume", "snapshot", "suspend",
or "exit". They respectively clear recording, pause recording,
resume recording, take a snapshot, suspend the recording and exit the program.
setEvent
public void setEvent(String value)
the event on the method that will trigger the action. Must be
"enter" or "exit"
required.
setName
public void setName(String value)
The name of the method(s) as a regular expression. The name
is the fully qualified name on the form package.classname.method
required.
setParam
public void setParam(String value)
A alphanumeric custom name for the snapshot; optional.
toString
public String toString()
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.