Enum TweetyConfiguration.LogLevel

java.lang.Object
java.lang.Enum<TweetyConfiguration.LogLevel>
org.tweetyproject.commons.TweetyConfiguration.LogLevel
All Implemented Interfaces:
Serializable, Comparable<TweetyConfiguration.LogLevel>, Constable
Enclosing interface:
TweetyConfiguration

public static enum TweetyConfiguration.LogLevel extends Enum<TweetyConfiguration.LogLevel>
The possible log levels.
Author:
Matthias Thimm
  • Enum Constant Details

  • Method Details

    • values

      public static TweetyConfiguration.LogLevel[] 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 TweetyConfiguration.LogLevel 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
    • levelAsInt

      public int levelAsInt()
      Returns the log level as integer
      Returns:
      levelAsInt
    • levelAsString

      public String levelAsString()
      Returns the log level as string
      Returns:
      log level as string
    • getLogLevel

      public static TweetyConfiguration.LogLevel getLogLevel(String s)
      Returns the log level described by the given string
      Parameters:
      s - string describing log level
      Returns:
      the log level described by the given string