Enum TransferEvent.TransferState
- java.lang.Object
-
- java.lang.Enum<TransferEvent.TransferState>
-
- org.alfresco.service.cmr.transfer.TransferEvent.TransferState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TransferEvent.TransferState>
- Enclosing interface:
- TransferEvent
public static enum TransferEvent.TransferState extends java.lang.Enum<TransferEvent.TransferState>
The transfer events will Start with a START event and finish with either SUCCESS or ERROR
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDCOMMITTINGERRORPREPARINGSENDING_CONTENTSENDING_SNAPSHOTSTARTSUCCESS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransferEvent.TransferStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TransferEvent.TransferState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final TransferEvent.TransferState START
-
SENDING_SNAPSHOT
public static final TransferEvent.TransferState SENDING_SNAPSHOT
-
SENDING_CONTENT
public static final TransferEvent.TransferState SENDING_CONTENT
-
PREPARING
public static final TransferEvent.TransferState PREPARING
-
COMMITTING
public static final TransferEvent.TransferState COMMITTING
-
SUCCESS
public static final TransferEvent.TransferState SUCCESS
-
ERROR
public static final TransferEvent.TransferState ERROR
-
CANCELLED
public static final TransferEvent.TransferState CANCELLED
-
-
Method Detail
-
values
public static TransferEvent.TransferState[] 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 (TransferEvent.TransferState c : TransferEvent.TransferState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransferEvent.TransferState valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-