org.apache.hadoop.yarn.webapp.hamlet
Enum HamletSpec.LinkType
java.lang.Object
java.lang.Enum<HamletSpec.LinkType>
org.apache.hadoop.yarn.webapp.hamlet.HamletSpec.LinkType
- All Implemented Interfaces:
- Serializable, Comparable<HamletSpec.LinkType>
- Enclosing class:
- HamletSpec
public static enum HamletSpec.LinkType
- extends Enum<HamletSpec.LinkType>
%LinkTypes (case-insensitive)
alternate
public static final HamletSpec.LinkType alternate
stylesheet
public static final HamletSpec.LinkType stylesheet
start
public static final HamletSpec.LinkType start
next
public static final HamletSpec.LinkType next
prev
public static final HamletSpec.LinkType prev
contents
public static final HamletSpec.LinkType contents
index
public static final HamletSpec.LinkType index
glossary
public static final HamletSpec.LinkType glossary
copyright
public static final HamletSpec.LinkType copyright
chapter
public static final HamletSpec.LinkType chapter
section
public static final HamletSpec.LinkType section
subsection
public static final HamletSpec.LinkType subsection
appendix
public static final HamletSpec.LinkType appendix
help
public static final HamletSpec.LinkType help
bookmark
public static final HamletSpec.LinkType bookmark
values
public static HamletSpec.LinkType[] 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 (HamletSpec.LinkType c : HamletSpec.LinkType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static HamletSpec.LinkType 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
Copyright © 2014 Apache Software Foundation. All Rights Reserved.