Package org.duracloud.sync.endpoint
Enum SyncResultType
- java.lang.Object
-
- java.lang.Enum<SyncResultType>
-
- org.duracloud.sync.endpoint.SyncResultType
-
- All Implemented Interfaces:
Serializable,Comparable<SyncResultType>
public enum SyncResultType extends Enum<SyncResultType>
- Author:
- Daniel Bernstein
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDEDALREADY_IN_SYNCBACKED_UPDELETEDFAILEDUPDATE_IGNOREDUPDATED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAbbreviation()static SyncResultTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SyncResultType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDED
public static final SyncResultType ADDED
-
UPDATED
public static final SyncResultType UPDATED
-
DELETED
public static final SyncResultType DELETED
-
UPDATE_IGNORED
public static final SyncResultType UPDATE_IGNORED
-
BACKED_UP
public static final SyncResultType BACKED_UP
-
ALREADY_IN_SYNC
public static final SyncResultType ALREADY_IN_SYNC
-
FAILED
public static final SyncResultType FAILED
-
-
Method Detail
-
values
public static SyncResultType[] 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 (SyncResultType c : SyncResultType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyncResultType 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
-
getAbbreviation
public String getAbbreviation()
-
-