public class RotateLog
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
host |
java.lang.String |
install |
java.lang.String |
process |
Constructor and Description |
---|
RotateLog() |
RotateLog(RotateLog o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this RotateLog.
|
static RotateLog |
fromString(java.lang.String s)
String representation of this RotateLog.
|
java.lang.String |
getHost()
Rotates log files for the specified host.
If null, it rotates log files on every cluster host. |
java.lang.String |
getInstall()
Instance name.
|
java.lang.String |
getProcess()
Rotates log files for the specified process.
If null, it rotates log files for every process. |
RotateLog |
makeCopy()
Creates and returns a deep copy of this RotateLog.
|
static RotateLog |
readFrom(java.io.InputStream is)
Read this RotateLog from an XML fragment.
|
void |
setHost(java.lang.String host)
Rotates log files for the specified host.
If null, it rotates log files on every cluster host. |
void |
setInstall(java.lang.String install)
Instance name.
|
void |
setProcess(java.lang.String process)
Rotates log files for the specified process.
If null, it rotates log files for every process. |
java.lang.String |
toString()
String representation of this RotateLog.
|
RotateLog |
withHost(java.lang.String host) |
RotateLog |
withInstall(java.lang.String install) |
RotateLog |
withProcess(java.lang.String process) |
void |
writeTo(java.io.OutputStream os)
Write this RotateLog as an XML fragment
|
public java.lang.String host
public java.lang.String install
public java.lang.String process
public RotateLog()
public RotateLog(RotateLog o)
public void setHost(java.lang.String host)
public java.lang.String getHost()
public RotateLog withHost(java.lang.String host)
public void setInstall(java.lang.String install)
public java.lang.String getInstall()
public RotateLog withInstall(java.lang.String install)
public void setProcess(java.lang.String process)
public java.lang.String getProcess()
public RotateLog withProcess(java.lang.String process)
public RotateLog makeCopy()
public static RotateLog readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static RotateLog fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.