gate.util.ant.packager
Enum PackageGappTask.UnresolvedAction
java.lang.Object
java.lang.Enum<PackageGappTask.UnresolvedAction>
gate.util.ant.packager.PackageGappTask.UnresolvedAction
- All Implemented Interfaces:
- Serializable, Comparable<PackageGappTask.UnresolvedAction>
- Enclosing class:
- PackageGappTask
public static enum PackageGappTask.UnresolvedAction
- extends Enum<PackageGappTask.UnresolvedAction>
Enumeration of the actions to take when there are unresolved
resources. Options are to fail the build, to make the paths
absolute in the new gapp, or to recover by gathering the unresolved
files into an "application-resources" directory.
fail
public static final PackageGappTask.UnresolvedAction fail
absolute
public static final PackageGappTask.UnresolvedAction absolute
recover
public static final PackageGappTask.UnresolvedAction recover
values
public static PackageGappTask.UnresolvedAction[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (PackageGappTask.UnresolvedAction c : PackageGappTask.UnresolvedAction.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PackageGappTask.UnresolvedAction valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null