org.apache.tools.ant.taskdefs.optional.sitraka

Class Triggers.Method

public static class Triggers.Method extends Object

A trigger for the coverage report
Field Summary
protected Stringaction
protected Stringevent
protected Stringname
protected Stringparam
Method Summary
voidsetAction(String value)
The action to execute; required.
voidsetEvent(String value)
the event on the method that will trigger the action.
voidsetName(String value)
The name of the method(s) as a regular expression.
voidsetParam(String value)
A alphanumeric custom name for the snapshot; optional.
StringtoString()

Field Detail

action

protected String action

event

protected String event

name

protected String name

param

protected String param

Method Detail

setAction

public void setAction(String value)
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