GridSim 5.0 beta

gridsim.parallel.log
Enum LoggerEnum

Object
  extended by Enum<LoggerEnum>
      extended by LoggerEnum
All Implemented Interfaces:
Serializable, Comparable<LoggerEnum>

public enum LoggerEnum
extends Enum<LoggerEnum>

Defines names for package level loggers.

Since:
5.0
Author:
Marcos Dias de Assuncao

Enum Constant Summary
AUCTION
          Auction package.
DATAGRID
          Datagrid package and sub-packages.
FAILURE
          Resource failure modelling package.
FILTER
          Filter package.
GRIDSIM
          GridSim package.
INDEX
          Index package.
NET
          Network package.
PARALLEL
          Parallel package and sub-packages.
UTIL
          Util package.
 
Method Summary
 String getPath()
          Returns the logger's path.
static LoggerEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LoggerEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GRIDSIM

public static final LoggerEnum GRIDSIM
GridSim package.


AUCTION

public static final LoggerEnum AUCTION
Auction package.


DATAGRID

public static final LoggerEnum DATAGRID
Datagrid package and sub-packages.


NET

public static final LoggerEnum NET
Network package.


PARALLEL

public static final LoggerEnum PARALLEL
Parallel package and sub-packages.


FAILURE

public static final LoggerEnum FAILURE
Resource failure modelling package.


UTIL

public static final LoggerEnum UTIL
Util package.


FILTER

public static final LoggerEnum FILTER
Filter package.


INDEX

public static final LoggerEnum INDEX
Index package.

Method Detail

values

public static LoggerEnum[] 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 (LoggerEnum c : LoggerEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LoggerEnum 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

getPath

public String getPath()
Returns the logger's path.

Returns:
the logger's path.

GridSim 5.0 beta

The University of Melbourne, Australia, 2009