JUnitTask.SummaryAttribute (Apache Ant API)
Description: declaration: package: org.apache.tools.ant.taskdefs.optional.junit, class: JUnitTask, class: SummaryAttribute

Package org.apache.tools.ant.taskdefs.optional.junit

# Class JUnitTask.SummaryAttribute

java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.SummaryAttribute

Enclosing class:
  `JUnitTask`

public static class JUnitTask.SummaryAttribute extends EnumeratedAttribute
Print summary enumeration values.

- ## Field Summary

  ### Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute

  `value`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SummaryAttribute()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `asBoolean()`
  gives the boolean equivalent of the authorized values
  `String[]`
  `getValues()`
  list the possible values

  ### Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute

  `containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString`

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### SummaryAttribute

    public SummaryAttribute()

- ## Method Details

  - ### getValues

    public String[] getValues()
    list the possible values
    Specified by:
      `getValues` in class `EnumeratedAttribute`
    Returns:
      array of allowed values

  - ### asBoolean

    public boolean asBoolean()
    gives the boolean equivalent of the authorized values
    Returns:
      boolean equivalent of the value