com.sas.hls.resource.repository
Enum SynchronizationInfo.FileStatus

java.lang.Object
  extended by java.lang.Enum<SynchronizationInfo.FileStatus>
      extended by com.sas.hls.resource.repository.SynchronizationInfo.FileStatus
All Implemented Interfaces:
Serializable, Comparable<SynchronizationInfo.FileStatus>
Enclosing class:
SynchronizationInfo

public static enum SynchronizationInfo.FileStatus
extends Enum<SynchronizationInfo.FileStatus>

Enumeration which describes where the file exists. It can be in the workspace, the repository or both locations. It can also not exist in either places.


Enum Constant Summary
NON_EXISTENT
           
REPOSITORY_ONLY
           
WORKSPACE_AND_REPOSITORY
           
WORKSPACE_ONLY
           
 
Method Summary
static SynchronizationInfo.FileStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SynchronizationInfo.FileStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NON_EXISTENT

public static final SynchronizationInfo.FileStatus NON_EXISTENT

WORKSPACE_ONLY

public static final SynchronizationInfo.FileStatus WORKSPACE_ONLY

REPOSITORY_ONLY

public static final SynchronizationInfo.FileStatus REPOSITORY_ONLY

WORKSPACE_AND_REPOSITORY

public static final SynchronizationInfo.FileStatus WORKSPACE_AND_REPOSITORY
Method Detail

values

public static SynchronizationInfo.FileStatus[] 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.FileStatus c : SynchronizationInfo.FileStatus.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.FileStatus 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) 2016, SAS Institute Inc., Cary, NC, USA