Class Level$

  • All Implemented Interfaces:
    enumeratum.Enum<Level>

    public class Level$
    extends java.lang.Object
    implements enumeratum.Enum<Level>
    Companion object for the level trait.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Level$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      Level$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Level apply​(java.lang.String name)
      Level constructor.
      boolean hasLevel​(java.lang.String name)
      Checks if a level name exists.
      scala.collection.immutable.Map<java.lang.String,​Level> lowerCaseNamesToValuesMap()  
      scala.collection.immutable.Map<java.lang.String,​Level> namesToValuesMap()  
      java.lang.String stringify()  
      scala.collection.immutable.Map<java.lang.String,​Level> upperCaseNameValuesToMap()  
      scala.collection.immutable.IndexedSeq<Level> values()  
      scala.collection.immutable.Map<Level,​java.lang.Object> valuesToIndex()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface enumeratum.Enum

        enumeratum$Enum$$existingEntriesString, extraNamesToValuesMap, indexOf, withName, withNameEither, withNameInsensitive, withNameInsensitiveEither, withNameInsensitiveOption, withNameLowercaseOnly, withNameLowercaseOnlyEither, withNameLowercaseOnlyOption, withNameOption, withNameUppercaseOnly, withNameUppercaseOnlyEither, withNameUppercaseOnlyOption
    • Field Detail

      • MODULE$

        public static final Level$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • Level$

        public Level$()
    • Method Detail

      • namesToValuesMap

        public scala.collection.immutable.Map<java.lang.String,​Level> namesToValuesMap()
        Specified by:
        namesToValuesMap in interface enumeratum.Enum<Level>
      • lowerCaseNamesToValuesMap

        public final scala.collection.immutable.Map<java.lang.String,​Level> lowerCaseNamesToValuesMap()
        Specified by:
        lowerCaseNamesToValuesMap in interface enumeratum.Enum<Level>
      • upperCaseNameValuesToMap

        public final scala.collection.immutable.Map<java.lang.String,​Level> upperCaseNameValuesToMap()
        Specified by:
        upperCaseNameValuesToMap in interface enumeratum.Enum<Level>
      • valuesToIndex

        public final scala.collection.immutable.Map<Level,​java.lang.Object> valuesToIndex()
        Specified by:
        valuesToIndex in interface enumeratum.Enum<Level>
      • values

        public scala.collection.immutable.IndexedSeq<Level> values()
        Specified by:
        values in interface enumeratum.Enum<Level>
      • stringify

        public java.lang.String stringify()
      • apply

        public Level apply​(java.lang.String name)
        Level constructor.

        Parameters:
        name - a level name. Case is ignored.
        Returns:
        the corresponding Level if there is one for that name. Otherwise WARN.
      • hasLevel

        public boolean hasLevel​(java.lang.String name)
        Checks if a level name exists.

        Parameters:
        name - the level name.
        Returns:
        true if a level with that name exists.