org.apache.hadoop.yarn.webapp.hamlet
Enum HamletSpec.LinkType

java.lang.Object
  extended by java.lang.Enum<HamletSpec.LinkType>
      extended by 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)


Enum Constant Summary
alternate
           
appendix
           
bookmark
           
chapter
           
contents
           
copyright
           
glossary
           
help
           
index
           
next
           
prev
           
section
           
start
           
stylesheet
           
subsection
           
 
Method Summary
static HamletSpec.LinkType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HamletSpec.LinkType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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 © 2012 Apache Software Foundation. All Rights Reserved.