Class ListenerDefinition
- java.lang.Object
-
- org.apache.tools.ant.taskdefs.optional.junitlauncher.ListenerDefinition
-
public class ListenerDefinition extends java.lang.Object
Represents the<listener>
element within the<junitlauncher>
task
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListenerDefinition.ListenerType
-
Constructor Summary
Constructors Constructor Description ListenerDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setClassName(java.lang.String className)
void
setIf(java.lang.String ifProperty)
void
setResultFile(java.lang.String filename)
void
setSendSysErr(boolean sendSysErr)
void
setSendSysOut(boolean sendSysOut)
void
setType(ListenerDefinition.ListenerType type)
void
setUnless(java.lang.String unlessProperty)
protected boolean
shouldUse(Project project)
-
-
-
Method Detail
-
setClassName
public void setClassName(java.lang.String className)
-
setIf
public void setIf(java.lang.String ifProperty)
-
setUnless
public void setUnless(java.lang.String unlessProperty)
-
setType
public void setType(ListenerDefinition.ListenerType type)
-
setResultFile
public void setResultFile(java.lang.String filename)
-
setSendSysOut
public void setSendSysOut(boolean sendSysOut)
-
setSendSysErr
public void setSendSysErr(boolean sendSysErr)
-
shouldUse
protected boolean shouldUse(Project project)
-
-