org.jmonks.batch.framework.config
Class JobLoggingConfig

java.lang.Object
  extended byorg.jmonks.batch.framework.config.JobLoggingConfig
Direct Known Subclasses:
DBJobLoggingConfig, XMLJobLoggingConfig

public abstract class JobLoggingConfig
extends java.lang.Object

JobLoggingConfig holds the list of loggers defined for this job. Each logger will be represented by the JobLoggerConfig object. Implementation of this class will be done by the classes defined in corresponding factories.

Since:
1.0
Version:
1.0
Author:
Suresh Pragada

Nested Class Summary
 class JobLoggingConfig.JobLoggerConfig
          JobLoggerConfig holds the information of each logger defined for the job.
 
Constructor Summary
JobLoggingConfig()
           
 
Method Summary
protected  void addLogger(java.lang.String loggerName, java.lang.String loggerLevel)
           
 JobLoggingConfig.JobLoggerConfig[] getLoggers()
          Gets the array of JobLoggerConfig objects defined for this job.
 java.lang.String toString()
           Returns the string representation of JobLoggingConfig class in the format
{JobLoggingConfig [loggerList = value]}
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobLoggingConfig

public JobLoggingConfig()
Method Detail

getLoggers

public JobLoggingConfig.JobLoggerConfig[] getLoggers()
Gets the array of JobLoggerConfig objects defined for this job.


addLogger

protected void addLogger(java.lang.String loggerName,
                         java.lang.String loggerLevel)

toString

public java.lang.String toString()

Returns the string representation of JobLoggingConfig class in the format
{JobLoggingConfig [loggerList = value]}

Returns:
Returns the string representation of JobLoggingConfig.