com.sas.hls.resource.repository
Enum SynchronizationInfo.SynchronizationStatus
java.lang.Object
java.lang.Enum<SynchronizationInfo.SynchronizationStatus>
com.sas.hls.resource.repository.SynchronizationInfo.SynchronizationStatus
- All Implemented Interfaces:
- Serializable, Comparable<SynchronizationInfo.SynchronizationStatus>
- Enclosing class:
- SynchronizationInfo
public static enum SynchronizationInfo.SynchronizationStatus
- extends Enum<SynchronizationInfo.SynchronizationStatus>
Enumeration which describes whether the file has been synchronized between the workspace and repository or not.
If it has been synchronized, whether it is still in sync or not. If it is out-of-sync then the
WorkspaceFileInfo
and RepositoryFileInfo
objects can be reviewed to see where the changes exist.
NOT_SYNCED
public static final SynchronizationInfo.SynchronizationStatus NOT_SYNCED
OUT_OF_SYNC
public static final SynchronizationInfo.SynchronizationStatus OUT_OF_SYNC
IN_SYNC
public static final SynchronizationInfo.SynchronizationStatus IN_SYNC
values
public static SynchronizationInfo.SynchronizationStatus[] 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 (SynchronizationInfo.SynchronizationStatus c : SynchronizationInfo.SynchronizationStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SynchronizationInfo.SynchronizationStatus 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 name
NullPointerException
- if the argument is null
Copyright (c) 2014, SAS Institute Inc., Cary, NC, USA