Package com.semanticcms.autogit.model
Enum Meaning
- java.lang.Object
-
- java.lang.Enum<Meaning>
-
- com.semanticcms.autogit.model.Meaning
-
- All Implemented Interfaces:
Serializable
,Comparable<Meaning>
public enum Meaning extends Enum<Meaning>
From man git-status
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Change
getChange()
State
getState()
String
toString()
static Meaning
valueOf(String name)
Returns the enum constant of this type with the specified name.static Meaning[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Modified
public static final Meaning Modified
-
Deleted
public static final Meaning Deleted
-
UpdatedInIndex
public static final Meaning UpdatedInIndex
-
AddedToIndex
public static final Meaning AddedToIndex
-
DeletedFromIndex
public static final Meaning DeletedFromIndex
-
RenamedInIndex
public static final Meaning RenamedInIndex
-
CopiedInIndex
public static final Meaning CopiedInIndex
-
IndexAndWorkingTreeMatches
public static final Meaning IndexAndWorkingTreeMatches
-
WorkTreeChangedSinceIndex
public static final Meaning WorkTreeChangedSinceIndex
-
DeletedInWorkTree
public static final Meaning DeletedInWorkTree
-
UnmergedBothDeleted
public static final Meaning UnmergedBothDeleted
-
UnmergedAddedByUs
public static final Meaning UnmergedAddedByUs
-
UnmergedDeletedByThem
public static final Meaning UnmergedDeletedByThem
-
UnmergedAddedByThem
public static final Meaning UnmergedAddedByThem
-
UnmergedDeletedByUs
public static final Meaning UnmergedDeletedByUs
-
UnmergedBothAdded
public static final Meaning UnmergedBothAdded
-
UnmergedBothModified
public static final Meaning UnmergedBothModified
-
Untracked
public static final Meaning Untracked
-
Ignored
public static final Meaning Ignored
-
-
Method Detail
-
values
public static Meaning[] 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 (Meaning c : Meaning.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Meaning 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
-
getState
public State getState()
-
getChange
public Change getChange()
-
-