Enum SARKStruct.API

java.lang.Object
java.lang.Enum<SARKStruct.API>
uk.ac.manchester.spinnaker.messages.model.SARKStruct.API
All Implemented Interfaces:
Serializable, Comparable<SARKStruct.API>
Enclosing class:
SARKStruct

public static enum SARKStruct.API
extends Enum<SARKStruct.API>
The supported APIs for mapped structures.
Author:
Donal Fellows
  • Enum Constant Details

    • SARK

      public static final SARKStruct.API SARK
      This identifies a structure defined by SARK.
    • SCAMP

      public static final SARKStruct.API SCAMP
      This identifies a structure defined by SC&MP.
    • SPIN1API

      public static final SARKStruct.API SPIN1API
      This identifies a structure defined by spin1_api.
    • BMP

      public static final SARKStruct.API BMP
      This identifies a structure defined by the BMP.
  • Method Details

    • values

      public static SARKStruct.API[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

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