Enum RepositoryStatus.Status
- java.lang.Object
-
- java.lang.Enum<RepositoryStatus.Status>
-
- org.ametys.plugins.repository.provider.RepositoryStatus.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<RepositoryStatus.Status>
- Enclosing class:
- RepositoryStatus
public static enum RepositoryStatus.Status extends Enum<RepositoryStatus.Status>
The statuses
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Status()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RepositoryStatus.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static RepositoryStatus.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW
public static final RepositoryStatus.Status NEW
The repository is new
-
EXISTING
public static final RepositoryStatus.Status EXISTING
The repository already exists
-
-
Constructor Detail
-
Status
private Status()
-
-
Method Detail
-
values
public static RepositoryStatus.Status[] 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 (RepositoryStatus.Status c : RepositoryStatus.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RepositoryStatus.Status 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 nameNullPointerException
- if the argument is null
-
-