Enum API

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<API>

    public enum API
    extends java.lang.Enum<API>
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static API valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static API[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • V2_0

        public static final API V2_0
      • V2_1

        public static final API V2_1
      • REGISTER

        public static final API REGISTER
      • USER

        public static final API USER
      • SESSION

        public static final API SESSION
      • NETWORK

        public static final API NETWORK
      • INSTALLATION

        public static final API INSTALLATION
      • MARKET

        public static final API MARKET
      • ACL

        public static final API ACL
      • STATE

        public static final API STATE
      • DEVICE

        public static final API DEVICE
      • VALUE

        public static final API VALUE
      • CREATOR

        public static final API CREATOR
    • Method Detail

      • values

        public static API[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (API c : API.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static API valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null