Enum Class Api.TypeEnum

java.lang.Object
java.lang.Enum<Api.TypeEnum>
de.ovgu.spldev.varied.messaging.Api.TypeEnum
All Implemented Interfaces:
Serializable, Comparable<Api.TypeEnum>, Constable
Enclosing class:
Api

public static enum Api.TypeEnum extends Enum<Api.TypeEnum>
Types of messages. Decodable message types can also be decoded and are registered with Gson.
  • Enum Constant Details

    • ERROR

      public static final Api.TypeEnum ERROR
    • RESET

      public static final Api.TypeEnum RESET
    • ADD_ARTIFACT

      public static final Api.TypeEnum ADD_ARTIFACT
    • REMOVE_ARTIFACT

      public static final Api.TypeEnum REMOVE_ARTIFACT
    • EXPORT_ARTIFACT

      public static final Api.TypeEnum EXPORT_ARTIFACT
    • ANALYZE_FEATURE_MODEL

      public static final Api.TypeEnum ANALYZE_FEATURE_MODEL
    • COLLABORATOR_JOINED

      public static final Api.TypeEnum COLLABORATOR_JOINED
    • COLLABORATOR_LEFT

      public static final Api.TypeEnum COLLABORATOR_LEFT
    • SET_USER_PROFILE

      public static final Api.TypeEnum SET_USER_PROFILE
    • JOIN_REQUEST

      public static final Api.TypeEnum JOIN_REQUEST
    • LEAVE_REQUEST

      public static final Api.TypeEnum LEAVE_REQUEST
    • INITIALIZE

      public static final Api.TypeEnum INITIALIZE
    • KERNEL

      public static final Api.TypeEnum KERNEL
    • VOTERS

      public static final Api.TypeEnum VOTERS
    • VOTE

      public static final Api.TypeEnum VOTE
    • RESOLUTION_OUTCOME

      public static final Api.TypeEnum RESOLUTION_OUTCOME
    • SET_VOTING_STRATEGY

      public static final Api.TypeEnum SET_VOTING_STRATEGY
  • Method Details

    • values

      public static Api.TypeEnum[] 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 Api.TypeEnum 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