Enum Class RepositoryFile.SigningStatus

java.lang.Object
java.lang.Enum<RepositoryFile.SigningStatus>
com.sas.lsaf.content.repository.RepositoryFile.SigningStatus
All Implemented Interfaces:
Serializable, Comparable<RepositoryFile.SigningStatus>, Constable
Enclosing class:
RepositoryFile

public static enum RepositoryFile.SigningStatus extends Enum<RepositoryFile.SigningStatus>
Describes the overall signature status of the file. If the file is not versioned then the only possible values for the status are NONE and CURRENT. If the file is versioned, all versions return the same status.
  • Enum Constant Details

    • NONE

      public static final RepositoryFile.SigningStatus NONE
      There are no signatures associated with the file.
    • PREVIOUS

      public static final RepositoryFile.SigningStatus PREVIOUS
      There is at least one previous version of the file that is signed and the current version is not signed.
    • CURRENT

      public static final RepositoryFile.SigningStatus CURRENT
      The current version of the file is signed, and no previous versions are signed.
    • CURRENT_AND_PREVIOUS

      public static final RepositoryFile.SigningStatus CURRENT_AND_PREVIOUS
      The current version of the file is signed, and there is at least one previous version of the file that is signed.
  • Method Details

    • values

      public static RepositoryFile.SigningStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RepositoryFile.SigningStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null