public static enum VersionControlStatsGenerator.Mode extends Enum<VersionControlStatsGenerator.Mode>
Enum Constant and Description |
---|
FAST
Generate a set of stats that is fast to generate but incomplete
|
FULL
Generate the full set of stats
|
PREGENERATED
Do not generate new information, but return whatever is already generated
|
SLOW
Generate a set of stats that is slow to generate but incomplete
|
Modifier and Type | Field and Description |
---|---|
boolean |
hasDiff |
boolean |
hasPathsChangedInWorkingDirectory |
boolean |
shouldGenerate |
Modifier and Type | Method and Description |
---|---|
static VersionControlStatsGenerator.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VersionControlStatsGenerator.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionControlStatsGenerator.Mode PREGENERATED
public static final VersionControlStatsGenerator.Mode FAST
public static final VersionControlStatsGenerator.Mode SLOW
public static final VersionControlStatsGenerator.Mode FULL
public final boolean shouldGenerate
public final boolean hasPathsChangedInWorkingDirectory
public final boolean hasDiff
public static VersionControlStatsGenerator.Mode[] values()
for (VersionControlStatsGenerator.Mode c : VersionControlStatsGenerator.Mode.values()) System.out.println(c);
public static VersionControlStatsGenerator.Mode 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 null