Platform SDK Java 8.5 API Reference

com.genesyslab.platform.logging.utilities
Class LmsMessageTemplate

java.lang.Object
  extended by com.genesyslab.platform.logging.utilities.LmsMessageTemplate

public final class LmsMessageTemplate
extends java.lang.Object

The template log message.


Constructor Summary
LmsMessageTemplate()
          Default constructor.
LmsMessageTemplate(int id, LmsBasedLogLevel level, java.lang.String name, java.lang.String format)
          constructor which initializes the properties with passed values.
 
Method Summary
 java.lang.String getFormat()
          Gets the Format line of message template.
 int getId()
          Gets the Id of the template.
 LmsBasedLogLevel getLevel()
          Gets the Verbose of template message.
 java.lang.String getName()
          Gets the Name of template message.
 void setFormat(java.lang.String format)
          Sets the Format line of message template.
 void setId(int id)
          Sets the Id of the template.
 void setLevel(LmsBasedLogLevel level)
          Sets the Verbose of template message.
 void setName(java.lang.String name)
          Sets the Name of template message.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LmsMessageTemplate

public LmsMessageTemplate()
Default constructor. Initializes properties "Name" and "Format" with empty strings, "Id" with 0 and "Level" with LmsBasedLogLevel.NOTDEFINED.


LmsMessageTemplate

public LmsMessageTemplate(int id,
                          LmsBasedLogLevel level,
                          java.lang.String name,
                          java.lang.String format)
constructor which initializes the properties with passed values.

Parameters:
id - Init value for "Id"
level - Init value for "Level"
name - Init value for "Name"
format - Init value for "Format"
Method Detail

getLevel

public LmsBasedLogLevel getLevel()
Gets the Verbose of template message.


setLevel

public void setLevel(LmsBasedLogLevel level)
Sets the Verbose of template message.


getName

public java.lang.String getName()
Gets the Name of template message.


setName

public void setName(java.lang.String name)
Sets the Name of template message.


getFormat

public java.lang.String getFormat()
Gets the Format line of message template.


setFormat

public void setFormat(java.lang.String format)
Sets the Format line of message template.


getId

public int getId()
Gets the Id of the template.


setId

public void setId(int id)
Sets the Id of the template.


toString

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

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.