public class JMSMessageLogFile extends LogFile
| Constructor and Description |
|---|
JMSMessageLogFile() |
| Modifier and Type | Method and Description |
|---|---|
JMSServer |
getParent()
Get the parent JMSServer object.
|
JMSMessageLogFile |
setBufferSizeKb(Integer bufferSizeKb)
Set the buffer size in kilobytes.
|
JMSMessageLogFile |
setDateFormatPattern(String dateFormatPattern)
Set the date format pattern.
|
JMSMessageLogFile |
setFileCount(Integer fileCount)
Set the file count.
|
JMSMessageLogFile |
setFileMinSize(Integer fileMinSize)
Set the minimum file size.
|
JMSMessageLogFile |
setFileName(String fileName)
Set the file name.
|
JMSMessageLogFile |
setFileTimeSpan(Integer fileTimeSpan)
Set the file time span.
|
JMSMessageLogFile |
setFileTimeSpanFactor(Long fileTimeSpanFactor)
Set the file time span factor.
|
JMSMessageLogFile |
setLogFileRotationDir(String logFileRotationDir)
Set the log file rotation directory.
|
JMSMessageLogFile |
setName(String name)
Set the name.
|
JMSMessageLogFile |
setNotes(String notes)
Set the notes.
|
JMSMessageLogFile |
setNumberOfFilesLimited(Boolean numberOfFilesLimited)
Set whether or not the number of retained log files is limited.
|
void |
setParent(JMSServer parent)
Set the parent JMSServer.
|
JMSMessageLogFile |
setRotateLogOnStartup(Boolean rotateLogOnStartup)
Set whether or not to rotate the log file at server startup.
|
JMSMessageLogFile |
setRotationTime(String rotationTime)
Set the log file rotation time.
|
JMSMessageLogFile |
setRotationType(LogRotationType rotationType)
Set the log file rotation strategy type.
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
getBufferSizeKb, getDateFormatPattern, getFileCount, getFileMinSize, getFileName, getFileTimeSpan, getFileTimeSpanFactor, getLogFileRotationDir, getName, getNotes, getNumberOfFilesLimited, getRotateLogOnStartup, getRotationTime, getRotationTypepublic JMSServer getParent()
public void setParent(JMSServer parent)
parent - the parent JMSServerpublic JMSMessageLogFile setBufferSizeKb(Integer bufferSizeKb)
setBufferSizeKb in class LogFilebufferSizeKb - the new sizepublic JMSMessageLogFile setDateFormatPattern(String dateFormatPattern)
setDateFormatPattern in class LogFiledateFormatPattern - the new date format patternpublic JMSMessageLogFile setFileCount(Integer fileCount)
setFileCount in class LogFilefileCount - the new file countpublic JMSMessageLogFile setFileMinSize(Integer fileMinSize)
setFileMinSize in class LogFilefileMinSize - the new minimum file sizepublic JMSMessageLogFile setFileName(String fileName)
setFileName in class LogFilefileName - the new file namepublic JMSMessageLogFile setFileTimeSpan(Integer fileTimeSpan)
setFileTimeSpan in class LogFilefileTimeSpan - the new file time spanpublic JMSMessageLogFile setFileTimeSpanFactor(Long fileTimeSpanFactor)
setFileTimeSpanFactor in class LogFilefileTimeSpanFactor - the new time span factorpublic JMSMessageLogFile setLogFileRotationDir(String logFileRotationDir)
setLogFileRotationDir in class LogFilelogFileRotationDir - the new log file rotation directorypublic JMSMessageLogFile setName(String name)
public JMSMessageLogFile setNotes(String notes)
public JMSMessageLogFile setNumberOfFilesLimited(Boolean numberOfFilesLimited)
setNumberOfFilesLimited in class LogFilenumberOfFilesLimited - the new valuepublic JMSMessageLogFile setRotateLogOnStartup(Boolean rotateLogOnStartup)
setRotateLogOnStartup in class LogFilerotateLogOnStartup - the new valuepublic JMSMessageLogFile setRotationTime(String rotationTime)
setRotationTime in class LogFilerotationTime - the new log file rotation timepublic JMSMessageLogFile setRotationType(LogRotationType rotationType)
setRotationType in class LogFilerotationType - the new typepublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()