org.apache.tools.antClass ProjectHelper.OnMissingExtensionPoint
- java.lang.Object
- org.apache.tools.ant.ProjectHelper.OnMissingExtensionPoint
- Enclosing class:
- ProjectHelper
public static final class ProjectHelper.OnMissingExtensionPoint extends java.lang.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 and Description static ProjectHelper.OnMissingExtensionPoint
FAIL
fail if the extension-point is not definedstatic ProjectHelper.OnMissingExtensionPoint
IGNORE
ignore the extensionOf attribute if the extension-point is not definedstatic ProjectHelper.OnMissingExtensionPoint
WARN
warn if the extension-point is not defined
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
name()
java.lang.String
toString()
static ProjectHelper.OnMissingExtensionPoint
valueOf(java.lang.String name)
Field Detail
FAIL
public static final ProjectHelper.OnMissingExtensionPoint FAILfail if the extension-point is not defined
WARN
public static final ProjectHelper.OnMissingExtensionPoint WARNwarn if the extension-point is not defined
IGNORE
public static final ProjectHelper.OnMissingExtensionPoint IGNOREignore the extensionOf attribute if the extension-point is not defined
Method Detail
name
public java.lang.String name()
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
valueOf
public static ProjectHelper.OnMissingExtensionPoint valueOf(java.lang.String name)