public static enum RepositoryFile.SigningStatus extends Enum<RepositoryFile.SigningStatus>
NONE
and CURRENT
. If the file is versioned, all versions return the same
status.Enum Constant and Description |
---|
CURRENT
The current version of the file is signed, and no previous versions are signed.
|
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.
|
NONE
There are no signatures associated with the file.
|
PREVIOUS
There is at least one previous version of the file that is signed and the current version is not signed.
|
Modifier and Type | Method and Description |
---|---|
static RepositoryFile.SigningStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryFile.SigningStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryFile.SigningStatus NONE
public static final RepositoryFile.SigningStatus PREVIOUS
public static final RepositoryFile.SigningStatus CURRENT
public static final RepositoryFile.SigningStatus CURRENT_AND_PREVIOUS
public static RepositoryFile.SigningStatus[] values()
for (RepositoryFile.SigningStatus c : RepositoryFile.SigningStatus.values()) System.out.println(c);
public static RepositoryFile.SigningStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null<i>Copyright (c) 2022, SAS Institute Inc., Cary, NC, USA</i>