Enum ProjectStatus

java.lang.Object
java.lang.Enum<ProjectStatus>
masecla.modrinth4j.model.project.ProjectStatus
All Implemented Interfaces:
Serializable, Comparable<ProjectStatus>, java.lang.constant.Constable

public enum ProjectStatus extends Enum<ProjectStatus>
Represents a project status.
  • Enum Constant Details

    • APPROVED

      @SerializedName("approved") public static final ProjectStatus APPROVED
      The project is approved and public.
    • REJECTED

      @SerializedName("rejected") public static final ProjectStatus REJECTED
      The project is rejected.
    • DRAFT

      @SerializedName("draft") public static final ProjectStatus DRAFT
      The project is a draft.
    • UNLISTED

      @SerializedName("unlisted") public static final ProjectStatus UNLISTED
      The project is unlisted.
    • ARCHIVED

      @SerializedName("archived") public static final ProjectStatus ARCHIVED
      The project is archived.
    • PROCESSING

      @SerializedName("processing") public static final ProjectStatus PROCESSING
      The project is processing.
    • WITHHELD

      @SerializedName("withheld") public static final ProjectStatus WITHHELD
      The project is withheld
    • SCHEDULED

      @SerializedName("scheduled") public static final ProjectStatus SCHEDULED
      The project is scheduled
    • PRIVATE

      @SerializedName("private") public static final ProjectStatus PRIVATE
      The project is private
    • UNKNOWN

      @SerializedName("unknown") public static final ProjectStatus UNKNOWN
      The project is unknown.
  • Method Details

    • values

      public static ProjectStatus[] 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

      public static ProjectStatus 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