Enum Class GeotoolsMessage

java.lang.Object
java.lang.Enum<GeotoolsMessage>
de.dlr.proseo.logging.messages.GeotoolsMessage
All Implemented Interfaces:
ProseoMessage, Serializable, Comparable<GeotoolsMessage>, Constable

public enum GeotoolsMessage extends Enum<GeotoolsMessage> implements ProseoMessage
A collection of messages needed by the geotools service.
Author:
Katharina Bassler
  • Enum Constant Details

    • SHAPE_FILE_INITIALIZED

      public static final GeotoolsMessage SHAPE_FILE_INITIALIZED
    • NO_SHAPE_FILES_FOUND

      public static final GeotoolsMessage NO_SHAPE_FILES_FOUND
    • POINT_INSIDE_AREAS

      public static final GeotoolsMessage POINT_INSIDE_AREAS
    • POINT_NOT_INSIDE_AREAS

      public static final GeotoolsMessage POINT_NOT_INSIDE_AREAS
    • POLYGON_INSIDE_AREAS

      public static final GeotoolsMessage POLYGON_INSIDE_AREAS
    • POLYGON_NOT_INSIDE_AREAS

      public static final GeotoolsMessage POLYGON_NOT_INSIDE_AREAS
    • POLYGON_OVERLAPS

      public static final GeotoolsMessage POLYGON_OVERLAPS
    • POLYGON_NO_OVERLAP

      public static final GeotoolsMessage POLYGON_NO_OVERLAP
    • INVALID_COORDINATES

      public static final GeotoolsMessage INVALID_COORDINATES
    • REST_POLYGON_MISSING

      public static final GeotoolsMessage REST_POLYGON_MISSING
    • BOUNDS_IO_SHAPE_FILE

      public static final GeotoolsMessage BOUNDS_IO_SHAPE_FILE
    • ARGUMENT_MISSING

      public static final GeotoolsMessage ARGUMENT_MISSING
    • INVALID_FILE_TYPE

      public static final GeotoolsMessage INVALID_FILE_TYPE
  • Method Details

    • values

      public static GeotoolsMessage[] 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 GeotoolsMessage 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
    • getCode

      public int getCode()
      Get the message's code.
      Specified by:
      getCode in interface ProseoMessage
      Returns:
      The message code.
    • getLevel

      public org.slf4j.event.Level getLevel()
      Get the message's level.
      Specified by:
      getLevel in interface ProseoMessage
      Returns:
      The message level.
    • getMessage

      public String getMessage()
      Get the message.
      Specified by:
      getMessage in interface ProseoMessage
      Returns:
      The message.
    • getDescription

      public String getDescription()
      Get a more detailed description of the message's purpose.
      Specified by:
      getDescription in interface ProseoMessage
      Returns:
      A description of the message.
    • getSuccess

      public boolean getSuccess()
      Get the message's success.
      Specified by:
      getSuccess in interface ProseoMessage
      Returns:
      The message's success.