public enum HintKind

  1. Object
  2. Enum<HintKind>
  3. HintKind

ImplementsComparable<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 constants

DEFAULTWhatever the attribute’s Java type says on its own.
TEXT_BLOCKProse or code long enough to want more than one line.
XMLAn XML fragment spliced into a manifest or a project file.
PATHA filesystem path.
URLA URL.
VERSIONA version number.
SECRETA credential, which the editor must not show in the clear.

Methods

public static HintKind[] values()
public static HintKind valueOf(String name)

Inherited methods

Enum constant details

DEFAULT

DEFAULT
Whatever the attribute’s Java type says on its own.

TEXT_BLOCK

TEXT_BLOCK
Prose or code long enough to want more than one line.

XML

XML
An XML fragment spliced into a manifest or a project file.

PATH

PATH
A filesystem path.

URL

URL
A URL.

VERSION

VERSION
A version number.

SECRET

SECRET
A credential, which the editor must not show in the clear.

Method details

values

public static HintKind[] values()

valueOf

public static HintKind valueOf(String name)