7.0 Action Request System Java API

com.remedy.arsys.api
Class LoggingInfo

java.lang.Object
  extended bycom.remedy.arsys.api.LoggingInfo

public class LoggingInfo
extends java.lang.Object

The LoggingInfo class updates the indicated logging information for the specified server.


Constructor Summary
LoggingInfo()
           
LoggingInfo(boolean isEnabled, long type, long writeToFileOrStatus, java.lang.String path)
          Default constructor
 
Method Summary
 void enable(boolean isEnabled)
          Sets the logging to on/off.
 java.lang.String getPath()
          Returns path to log file.
 long getType()
          Returns type of logging.
 long getWriteToFileOrStatus()
          Returns location of log information.
 boolean isEnabled()
          Returns TRUE if logging is enabled.
 void setPath(java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingInfo

public LoggingInfo()

LoggingInfo

public LoggingInfo(boolean isEnabled,
                   long type,
                   long writeToFileOrStatus,
                   java.lang.String path)
Default constructor

Method Detail

enable

public void enable(boolean isEnabled)
Sets the logging to on/off.


setType

public void setType(long type)
Sets type of logging. Types include the following constants:


setWriteToFileOrStatus

public void setWriteToFileOrStatus(long writeToFileOrStatus)
Sets where to return log information. Location includes the following constants:


setPath

public void setPath(java.lang.String fileNameWithPath)
Sets path to log file.


isEnabled

public boolean isEnabled()
Returns TRUE if logging is enabled.


getType

public long getType()
Returns type of logging.


getWriteToFileOrStatus

public long getWriteToFileOrStatus()
Returns location of log information.


getPath

public java.lang.String getPath()
Returns path to log file.


7.0 Action Request System Java API