Enum Class ExternalLinkStatus

java.lang.Object
java.lang.Enum<ExternalLinkStatus>
com.gentics.contentnode.rest.model.linkchecker.ExternalLinkStatus
All Implemented Interfaces:
Serializable, Comparable<ExternalLinkStatus>, java.lang.constant.Constable

public enum ExternalLinkStatus extends Enum<ExternalLinkStatus>
REST Model of check stati values for external Links
  • Enum Constant Details

  • Method Details

    • values

      public static ExternalLinkStatus[] 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 ExternalLinkStatus 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
    • getCode

      public int getCode()
      Get DB code
      Returns:
      code
    • getForCode

      public static ExternalLinkStatus getForCode(int code)
      Get the status for the given code.
      Parameters:
      code - code
      Returns:
      status (returns unchecked, if code is not found)