public enum HeaderMode extends Enum<HeaderMode> implements FlavorConvertible
Enum Constant and Description |
---|
HEADER_MAP_ONLY
Creates the header map that references the headers directly in the source tree.
|
SYMLINK_TREE_ONLY
Creates the tree of symbolic links of headers.
|
SYMLINK_TREE_WITH_HEADER_MAP
Creates the tree of symbolic links of headers and creates the header map that references the
symbolic links to the headers.
|
SYMLINK_TREE_WITH_HEADERS_MODULEMAP
Creates the tree of symbolic links of headers and creates a module map that references the
symbolic links to the headers.
|
SYMLINK_TREE_WITH_UMBRELLA_HEADER_MODULEMAP
Creates the tree of symbolic links of headers and creates a module map that references the
symbolic links to the headers.
|
Modifier and Type | Method and Description |
---|---|
static HeaderMode |
forModuleMapMode(ModuleMapMode moduleMapMode)
Returns the appropriate header mode for module map mode.
|
Flavor |
getFlavor() |
boolean |
includesModuleMap()
Returns whether or not the header mode will include a module map.
|
static HeaderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeaderMode SYMLINK_TREE_ONLY
public static final HeaderMode HEADER_MAP_ONLY
public static final HeaderMode SYMLINK_TREE_WITH_HEADER_MAP
public static final HeaderMode SYMLINK_TREE_WITH_HEADERS_MODULEMAP
public static final HeaderMode SYMLINK_TREE_WITH_UMBRELLA_HEADER_MODULEMAP
public static HeaderMode[] values()
for (HeaderMode c : HeaderMode.values()) System.out.println(c);
public static HeaderMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Flavor getFlavor()
getFlavor
in interface FlavorConvertible
public static HeaderMode forModuleMapMode(ModuleMapMode moduleMapMode)
moduleMapMode
- The module map mode to convert.public boolean includesModuleMap()