1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- import { JavaObject } from '../java/lang/JavaObject';
- export declare class LogLevel extends JavaObject {
- /** the name of the enumeration value */
- private readonly __name;
- /** the ordinal value for the enumeration value */
- private readonly __ordinal;
- /** an array containing all values of this enumeration */
- private static readonly all_values_by_ordinal;
- /** an array containing all values of this enumeration indexed by their name*/
- private static readonly all_values_by_name;
- static readonly APP: LogLevel;
- static readonly ERROR: LogLevel;
- static readonly WARNING: LogLevel;
- static readonly INFO: LogLevel;
- static readonly DEBUG: LogLevel;
- private readonly level;
- /**
- * Der von der Ausfzählung intern genutzte Konstruktor der Aufzählung
- *
- * @param level der Integer-Wert des Log-Levels.
- */
- private constructor();
- /**
- * Gibt den Integer-Wert des Log-Levels zurück.
- *
- * @return der Integer-Wert des Log-Levels
- */
- toInteger(): number;
- /**
- * Returns the name of this enumeration value.
- *
- * @returns the name
- */
- private name;
- /**
- * Returns the ordinal value of this enumeration value.
- *
- * @returns the ordinal value
- */
- private ordinal;
- /**
- * Returns the name of this enumeration value.
- *
- * @returns the name
- */
- toString(): String;
- /**
- * Returns true if this and the other enumeration values are equal.
- *
- * @param other the other enumeration value
- *
- * @returns true if they are equal and false otherwise
- */
- equals(other: JavaObject): boolean;
- /**
- * Returns the ordinal value as hashcode, since the ordinal value is unique.
- *
- * @returns the ordinal value as hashcode
- */
- hashCode(): number;
- /**
- * Compares this enumeration value with the other enumeration value by their ordinal value.
- *
- * @param other the other enumeration value
- *
- * @returns a negative, zero or postive value as this enumeration value is less than, equal to
- * or greater than the other enumeration value
- */
- compareTo(other: LogLevel): number;
- /**
- * Returns an array with enumeration values.
- *
- * @returns the array with enumeration values
- */
- static values(): Array<LogLevel>;
- /**
- * Returns the enumeration value with the specified name.
- *
- * @param name the name of the enumeration value
- *
- * @returns the enumeration values or null
- */
- static valueOf(name: String): LogLevel | null;
- isTranspiledInstanceOf(name: string): boolean;
- }
- export declare function cast_de_nrw_schule_svws_logger_LogLevel(obj: unknown): LogLevel;
|