Enum ChangelogFormat.Formats
- java.lang.Object
-
- java.lang.Enum<ChangelogFormat.Formats>
-
- com.github.koraktor.mavanagaiata.mojo.ChangelogFormat.Formats
-
- All Implemented Interfaces:
Serializable,Comparable<ChangelogFormat.Formats>
- Enclosing class:
- ChangelogFormat
public static enum ChangelogFormat.Formats extends Enum<ChangelogFormat.Formats>
-
-
Field Summary
Fields Modifier and Type Field Description private ChangelogFormatformat
-
Constructor Summary
Constructors Modifier Constructor Description privateFormats(ChangelogFormat format)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) ChangelogFormatgetFormat()static ChangelogFormat.FormatsvalueOf(String name)Returns the enum constant of this type with the specified name.static ChangelogFormat.Formats[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final ChangelogFormat.Formats DEFAULT
-
MARKDOWN
public static final ChangelogFormat.Formats MARKDOWN
-
-
Field Detail
-
format
private ChangelogFormat format
-
-
Constructor Detail
-
Formats
private Formats(ChangelogFormat format)
-
-
Method Detail
-
values
public static ChangelogFormat.Formats[] 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 (ChangelogFormat.Formats c : ChangelogFormat.Formats.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChangelogFormat.Formats 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 nameNullPointerException- if the argument is null
-
getFormat
ChangelogFormat getFormat()
-
-