Enum Class FriendResult

java.lang.Object
java.lang.Enum<FriendResult>
de.murmelmeister.murmelapi.friend.FriendResult
All Implemented Interfaces:
Serializable, Comparable<FriendResult>, Constable

public enum FriendResult extends Enum<FriendResult>
  • Enum Constant Details

    • SUCCESS

      public static final FriendResult SUCCESS
    • USER_NOT_FOUND

      public static final FriendResult USER_NOT_FOUND
    • SELF_TARGET

      public static final FriendResult SELF_TARGET
    • ALREADY_FRIENDS

      public static final FriendResult ALREADY_FRIENDS
    • NOT_FRIENDS

      public static final FriendResult NOT_FRIENDS
    • BLOCKED

      public static final FriendResult BLOCKED
    • REQUESTS_DISABLED

      public static final FriendResult REQUESTS_DISABLED
    • REQUEST_ALREADY_EXISTS

      public static final FriendResult REQUEST_ALREADY_EXISTS
    • INCOMING_REQUEST_EXISTS

      public static final FriendResult INCOMING_REQUEST_EXISTS
    • REQUEST_NOT_FOUND

      public static final FriendResult REQUEST_NOT_FOUND
    • REQUEST_EXPIRED

      public static final FriendResult REQUEST_EXPIRED
    • ALREADY_FAVORITE

      public static final FriendResult ALREADY_FAVORITE
    • NOT_FAVORITE

      public static final FriendResult NOT_FAVORITE
    • ALREADY_BLOCKED

      public static final FriendResult ALREADY_BLOCKED
    • NOT_BLOCKED

      public static final FriendResult NOT_BLOCKED
  • Method Details

    • values

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