Enum Class TransportFormat

java.lang.Object
java.lang.Enum<TransportFormat>
net.bull.javamelody.internal.model.TransportFormat
All Implemented Interfaces:
Serializable, Comparable<TransportFormat>, java.lang.constant.Constable

public enum TransportFormat extends Enum<TransportFormat>
Liste des formats de transport entre un serveur de collecte et une application monitorée (hors protocole à priori http).
Author:
Emeric Vernat
  • Enum Constant Details

  • Method Details

    • values

      public static TransportFormat[] 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 TransportFormat 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
    • valueOfIgnoreCase

      public static TransportFormat valueOfIgnoreCase(String transportFormat)
    • isATransportFormat

      public static boolean isATransportFormat(String format)
    • getCode

      public String getCode()
    • getMimeType

      public String getMimeType()
    • checkDependencies

      public void checkDependencies() throws IOException
      Throws:
      IOException
    • writeSerializableTo

      public void writeSerializableTo(Serializable serializable, OutputStream output) throws IOException
      Throws:
      IOException