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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
what is the class name?abstract String
get the prefix used to begin the command; -ea or -da.protected String
what is the package name?void
name a classvoid
setPackage
(String packageName) name a packagecreate a full command string from this class
-
Constructor Details
-
BaseAssertion
public BaseAssertion()
-
-
Method Details
-
setClass
-
setPackage
-
getClassName
-
getPackageName
-
getCommandPrefix
get the prefix used to begin the command; -ea or -da.- Returns:
- prefix
-
toCommand
create a full command string from this class- Returns:
- The command string
- Throws:
BuildException
- in case of trouble
-