public enum SectionType extends Enum<SectionType>
Enum Constant and Description |
---|
AUTHOR |
COPYING |
DESCRIPTION |
IGNORED |
NAME |
NOT_SPECIFIED |
OPTIONS |
RESOURCES |
SYNOPSIS |
Modifier and Type | Method and Description |
---|---|
static SectionType |
getSectionType(String name) |
String |
getType() |
static SectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SectionType NAME
public static final SectionType SYNOPSIS
public static final SectionType DESCRIPTION
public static final SectionType OPTIONS
public static final SectionType AUTHOR
public static final SectionType RESOURCES
public static final SectionType COPYING
public static final SectionType NOT_SPECIFIED
public static final SectionType IGNORED
public static SectionType[] values()
for (SectionType c : SectionType.values()) System.out.println(c);
public static SectionType 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 String getType()
public static SectionType getSectionType(String name)
Copyright © 2019 JBoss by Red Hat. All rights reserved.