|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.types.Assertions.BaseAssertion
public abstract static class Assertions.BaseAssertion
base class for our assertion elements.
Constructor Summary | |
---|---|
Assertions.BaseAssertion()
|
Method Summary | |
---|---|
protected java.lang.String |
getClassName()
what is the class name? |
abstract java.lang.String |
getCommandPrefix()
get the prefix used to begin the command; -ea or -da. |
protected java.lang.String |
getPackageName()
what is the package name? |
void |
setClass(java.lang.String className)
name a class |
void |
setPackage(java.lang.String packageName)
name a package |
java.lang.String |
toCommand()
create a full command string from this class |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Assertions.BaseAssertion()
Method Detail |
---|
public void setClass(java.lang.String className)
className
- a class namepublic void setPackage(java.lang.String packageName)
packageName
- a package nameprotected java.lang.String getClassName()
setClass(java.lang.String)
protected java.lang.String getPackageName()
setPackage(java.lang.String)
public abstract java.lang.String getCommandPrefix()
public java.lang.String toCommand()
BuildException
- in case of trouble
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |