|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<HeaderType>
com.google.code.mojo.license.header.HeaderType
public enum HeaderType
Defines the default header definitions available out of the box within this plugin.
HeaderDefinition
Method Summary | |
---|---|
static Map<String,HeaderDefinition> |
defaultDefinitions()
Returns the header definitions of every default definitions declared by this enumeration as a map using the header type name as key. |
static HeaderType |
fromName(String name)
Returns the HeaderType declared in this enumeration for the given header type name. |
HeaderDefinition |
getDefinition()
Returns the HeaderDefinition which corresponds to this enumeration instance. |
static HeaderType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HeaderType[] |
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 |
---|
public static final HeaderType JAVADOC_STYLE
public static final HeaderType SCRIPT_STYLE
public static final HeaderType HAML_STYLE
public static final HeaderType XML_STYLE
public static final HeaderType SEMICOLON_STYLE
public static final HeaderType APOSTROPHE_STYLE
public static final HeaderType EXCLAMATION_STYLE
public static final HeaderType DOUBLEDASHES_STYLE
public static final HeaderType SLASHSTAR_STYLE
public static final HeaderType BRACESSTAR_STYLE
public static final HeaderType SHARPSTAR_STYLE
public static final HeaderType DOUBLETILDE_STYLE
public static final HeaderType DYNASCRIPT_STYLE
public static final HeaderType DYNASCRIPT3_STYLE
public static final HeaderType PERCENT3_STYLE
public static final HeaderType EXCLAMATION3_STYLE
public static final HeaderType DOUBLESLASH_STYLE
public static final HeaderType PHP
public static final HeaderType ASP
public static final HeaderType LUA
public static final HeaderType FTL
public static final HeaderType FTL_ALT
public static final HeaderType TEXT
public static final HeaderType BATCH
public static final HeaderType UNKNOWN
Method Detail |
---|
public static HeaderType[] values()
for (HeaderType c : HeaderType.values()) System.out.println(c);
public static HeaderType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic HeaderDefinition getDefinition()
HeaderDefinition
which corresponds to this enumeration instance.
public static HeaderType fromName(String name)
HeaderType
declared in this enumeration for the given header type name.
name
- The header definition type name.
HeaderType
declared in this enumeration if found or UNKNOWN
.public static Map<String,HeaderDefinition> defaultDefinitions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |