Enum HintKind
- All Implemented Interfaces:
Comparable<HintKind>
What a String build hint really holds.
The attribute's Java type says whether a hint is a flag, a number, a list or one of a closed set. It cannot say which KIND of string a string is, and the Settings editor picks its control from exactly that: a version gets a version field, a secret gets a masked one, an XML fragment gets a multi-line box.
Named rather than spelled out in a string member, so a typo is a compile error instead of a hint that quietly renders as a plain text field.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhatever the attribute's Java type says on its own.A filesystem path.A credential, which the editor must not show in the clear.Prose or code long enough to want more than one line.A URL.A version number.An XML fragment spliced into a manifest or a project file. -
Method Summary
Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
-
Enum Constant Details
-
DEFAULT
Whatever the attribute's Java type says on its own. -
TEXT_BLOCK
Prose or code long enough to want more than one line. -
XML
An XML fragment spliced into a manifest or a project file. -
PATH
A filesystem path. -
URL
A URL. -
VERSION
A version number. -
SECRET
A credential, which the editor must not show in the clear.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-