Class ListenerDefinition
- java.lang.Object
-
- org.apache.tools.ant.taskdefs.optional.junitlauncher.ListenerDefinition
-
public class ListenerDefinition extends java.lang.ObjectRepresents the<listener>element within the<junitlauncher>task
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListenerDefinition.ListenerType
-
Constructor Summary
Constructors Constructor Description ListenerDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetClassName(java.lang.String className)voidsetIf(java.lang.String ifProperty)voidsetResultFile(java.lang.String filename)voidsetSendSysErr(boolean sendSysErr)voidsetSendSysOut(boolean sendSysOut)voidsetType(ListenerDefinition.ListenerType type)voidsetUnless(java.lang.String unlessProperty)protected booleanshouldUse(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)
-
-