public class LoggingInfo extends Object implements Serializable
LoggingInfo
class
updates the indicated logging information for the
specified server.Constructor and Description |
---|
LoggingInfo() |
LoggingInfo(boolean isEnabled,
long type,
long writeToFileOrStatus,
String path)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
enable(boolean isEnabled)
Sets the logging to on/off.
|
boolean |
equals(Object obj) |
String |
getPath()
Returns path to log file.
|
long |
getType()
Returns type of logging.
|
long |
getWriteToFileOrStatus()
Returns location of log information.
|
int |
hashCode() |
boolean |
isEnabled()
Returns
TRUE if logging is enabled. |
boolean |
isWorkflowMaskOn() |
boolean |
log(String text)
Writes the log information from the status list
to the file provided by the client.
|
void |
setPath(String fileNameWithPath)
Sets path to log file.
|
void |
setType(long type)
Sets type of logging.
|
void |
setWriteToFileOrStatus(long writeToFileOrStatus)
Sets where to return log information.
|
String |
toString() |
public LoggingInfo()
public LoggingInfo(boolean isEnabled, long type, long writeToFileOrStatus, String path)
public void enable(boolean isEnabled)
public void setType(long type)
public void setWriteToFileOrStatus(long writeToFileOrStatus)
public void setPath(String fileNameWithPath)
public boolean isEnabled()
TRUE
if logging is enabled.public long getType()
public long getWriteToFileOrStatus()
public String getPath()
public boolean isWorkflowMaskOn()
public boolean log(String text)
text
- ? Copyright 2013 BMC Software, Inc.