Enum Class API

java.lang.Object
java.lang.Enum<API>
org.deltava.beans.system.API
All Implemented Interfaces:
Serializable, Comparable<API>, Constable

public enum API extends Enum<API>
An enumeration of external APIs.
Since:
9.0
Version:
11.6
Author:
Luke
  • Enum Constant Details

    • GoogleMaps

      public static final API GoogleMaps
    • FlightAware

      public static final API FlightAware
    • VATSIM

      public static final API VATSIM
    • Google

      public static final API Google
    • RainViewer

      public static final API RainViewer
  • Method Details

    • values

      public static API[] 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 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
    • createName

      public String createName(String methodName)
      Combines the API with a method name to generate an API call name.
      Parameters:
      methodName - the method name
      Returns:
      the concatenated API and method name