Assertions.DisabledAssertion (Apache Ant API)
Description: declaration: package: org.apache.tools.ant.types, class: Assertions, class: DisabledAssertion

# Class Assertions.DisabledAssertion

java.lang.Object
org.apache.tools.ant.types.Assertions.BaseAssertion
org.apache.tools.ant.types.Assertions.DisabledAssertion

Enclosing class:
  `Assertions`

public static class Assertions.DisabledAssertion extends Assertions.BaseAssertion
A disabled assertion disables things

Since:
  Ant 1.6

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DisabledAssertion()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getCommandPrefix()`
  get the prefix used to begin the command; -ea or -da.

  ### Methods inherited from class Assertions.BaseAssertion

  `getClassName, getPackageName, setClass, setPackage, toCommand`
  Modifier and Type
  Method
  Description
  `protected String`
  `getClassName()`
  what is the class name?
  `protected String`
  `getPackageName()`
  what is the package name?
  `void`
  `setClass(String className)`
  name a class
  `void`
  `setPackage(String packageName)`
  name a package
  `String`
  `toCommand()`
  create a full command string from this class

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DisabledAssertion

    public DisabledAssertion()

- ## Method Details

  - ### getCommandPrefix

    public String getCommandPrefix()
    get the prefix used to begin the command; -ea or -da.
    Specified by:
      `getCommandPrefix` in class `Assertions.BaseAssertion`
    Returns:
      prefix