Package org.apache.tools.ant

# Class ProjectHelper.OnMissingExtensionPoint

java.lang.Object
org.apache.tools.ant.ProjectHelper.OnMissingExtensionPoint

Enclosing class:
  ProjectHelper

public static final class ProjectHelper.OnMissingExtensionPoint extends Object
Possible value for target's onMissingExtensionPoint attribute. It determines how to deal with targets that want to extend missing extension-points.

This class behaves like a Java 1.5 Enum class.

Since:
  1.8.2

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final ProjectHelper.OnMissingExtensionPoint`
  `FAIL`
  fail if the extension-point is not defined
  `static final ProjectHelper.OnMissingExtensionPoint`
  `IGNORE`
  ignore the extensionOf attribute if the extension-point is not defined
  `static final ProjectHelper.OnMissingExtensionPoint`
  `WARN`
  warn if the extension-point is not defined

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `name()`
  `String`
  `toString()`
  `static ProjectHelper.OnMissingExtensionPoint`
  `valueOf(String name)`

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

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

- ## Field Details

  - ### FAIL

    public static final ProjectHelper.OnMissingExtensionPoint FAIL
    fail if the extension-point is not defined

  - ### WARN

    public static final ProjectHelper.OnMissingExtensionPoint WARN
    warn if the extension-point is not defined

  - ### IGNORE

    public static final ProjectHelper.OnMissingExtensionPoint IGNORE
    ignore the extensionOf attribute if the extension-point is not defined

- ## Method Details

  - ### name

    public String name()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### valueOf

    public static ProjectHelper.OnMissingExtensionPoint valueOf(String name)