pl.edu.icm.yadda.service2.user.log
Enum MigrationLogger.Type
java.lang.Object
java.lang.Enum<MigrationLogger.Type>
pl.edu.icm.yadda.service2.user.log.MigrationLogger.Type
- All Implemented Interfaces:
- Serializable, Comparable<MigrationLogger.Type>
- Enclosing interface:
- MigrationLogger
public static enum MigrationLogger.Type
- extends Enum<MigrationLogger.Type>
USER
public static final MigrationLogger.Type USER
GROUP
public static final MigrationLogger.Type GROUP
values
public static MigrationLogger.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MigrationLogger.Type c : MigrationLogger.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MigrationLogger.Type 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
Copyright © 2002-2013 ICM, Warsaw University. All Rights Reserved.