Package org.apache.tools.ant.types
Class Assertions.BaseAssertion
java.lang.Object
org.apache.tools.ant.types.Assertions.BaseAssertion
- Direct Known Subclasses:
- Assertions.DisabledAssertion,- Assertions.EnabledAssertion
- Enclosing class:
- Assertions
base class for our assertion elements.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected Stringwhat is the class name?abstract Stringget the prefix used to begin the command; -ea or -da.protected Stringwhat is the package name?voidname a classvoidsetPackage(String packageName) name a packagecreate a full command string from this class
- 
Constructor Details- 
BaseAssertionpublic BaseAssertion()
 
- 
- 
Method Details- 
setClass
- 
setPackage
- 
getClassName
- 
getPackageName
- 
getCommandPrefixget the prefix used to begin the command; -ea or -da.- Returns:
- prefix
 
- 
toCommandcreate a full command string from this class- Returns:
- The command string
- Throws:
- BuildException- in case of trouble
 
 
-