public enum CommitInfoChoice extends Enum<CommitInfoChoice>
Enum Constant and Description |
---|
AUTHORS |
AUTHORS_AND_TITLES |
NONE |
Modifier and Type | Method and Description |
---|---|
static CommitInfoChoice |
forDisplayName(String displayName) |
String |
getDisplayName() |
boolean |
showAnything() |
boolean |
showAuthor() |
boolean |
showTitle() |
static CommitInfoChoice |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommitInfoChoice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommitInfoChoice NONE
public static final CommitInfoChoice AUTHORS
public static final CommitInfoChoice AUTHORS_AND_TITLES
public static CommitInfoChoice[] values()
for (CommitInfoChoice c : CommitInfoChoice.values()) System.out.println(c);
public static CommitInfoChoice 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 boolean showAuthor()
public boolean showTitle()
public boolean showAnything()
public String getDisplayName()
public static CommitInfoChoice forDisplayName(String displayName)
Copyright © 2016–2023. All rights reserved.