JSCAPE MFT Server

com.jscape.inet.mft.management.descriptors
Class LogConfiguration

java.lang.Object
  extended by com.jscape.inet.mft.management.descriptors.LogConfiguration
All Implemented Interfaces:
Configuration

public class LogConfiguration
extends java.lang.Object
implements Configuration

Log settings descriptor.


Constructor Summary
LogConfiguration()
          Creates new instance.
LogConfiguration(boolean verbose)
          Creates new instance.
LogConfiguration(int maxBufferRecords, boolean verbose)
          Creates a new configuration instance.
LogConfiguration(LogConfiguration that)
          Creates new instance from existing instance.
LogConfiguration(LogConfiguration that, java.util.Map options)
          Creates new instance from existing instance.
 
Method Summary
 int getMaxBufferRecords()
          Returns max buffer records value.
 boolean getVerbose()
          Gets whether verbose logging is enabled.
 void setMaxBufferRecords(int value)
          Sets max buffer records value.
 void setVerbose(boolean value)
          Sets whether verbose logging is enabled.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogConfiguration

public LogConfiguration(int maxBufferRecords,
                        boolean verbose)
Creates a new configuration instance.

Parameters:
maxBufferRecords - max buffer records
verbose - if true verbose logging is enabled

LogConfiguration

public LogConfiguration(boolean verbose)
Creates new instance.

Parameters:
verbose - if true verbose logging is enabled

LogConfiguration

public LogConfiguration(LogConfiguration that)
Creates new instance from existing instance.

Parameters:
that - existing instance

LogConfiguration

public LogConfiguration(LogConfiguration that,
                        java.util.Map options)
Creates new instance from existing instance.

Parameters:
that - existing instance
options - logging options

LogConfiguration

public LogConfiguration()
Creates new instance.

Method Detail

getMaxBufferRecords

public int getMaxBufferRecords()
Returns max buffer records value.

Returns:
max buffer records value

setMaxBufferRecords

public void setMaxBufferRecords(int value)
Sets max buffer records value.

Parameters:
value - max buffer records value

getVerbose

public boolean getVerbose()
Gets whether verbose logging is enabled.

Returns:
true if enabled, false otherwise

setVerbose

public void setVerbose(boolean value)
Sets whether verbose logging is enabled.

Parameters:
value - true if enabled, false otherwise

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

JSCAPE MFT Server

Copyright © JSCAPE LLC. 1999-2015. All Rights Reserved