Package masecla.modrinth4j.model.project
Enum ProjectStatus
- All Implemented Interfaces:
Serializable,Comparable<ProjectStatus>,java.lang.constant.Constable
Represents a project status.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe project is approved and public.The project is archived.The project is a draft.The project is privateThe project is processing.The project is rejected.The project is scheduledThe project is unknown.The project is unlisted.The project is withheld -
Method Summary
Modifier and TypeMethodDescriptionstatic ProjectStatusReturns the enum constant of this type with the specified name.static ProjectStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
APPROVED
The project is approved and public. -
REJECTED
The project is rejected. -
DRAFT
The project is a draft. -
UNLISTED
The project is unlisted. -
ARCHIVED
The project is archived. -
PROCESSING
The project is processing. -
WITHHELD
The project is withheld -
SCHEDULED
The project is scheduled -
PRIVATE
The project is private -
UNKNOWN
The project is unknown.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-