|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.tc.logging.ExceptionHandling
com.sap.tc.logging.BaseLog
public abstract class BaseLog
| Field Summary | |
|---|---|
static int |
STATUS_CLOSED
|
static int |
STATUS_INVALID
|
static int |
STATUS_OPENED
|
| Fields inherited from class com.sap.tc.logging.ExceptionHandling |
|---|
EX_NO_FILTER_EMSG, EX_NO_FORMATTER_EMSG, EX_NO_INSTANCE_EMSG |
| Constructor Summary | |
|---|---|
BaseLog()
|
|
| Method Summary | |
|---|---|
void |
addFilter(IFilter filter)
Adds another filter that controls messages flow via this log. |
protected Object |
clone()
|
void |
close()
Closes this log object. |
protected abstract void |
closeInt()
|
String |
getDescription()
|
String |
getEncoding()
Gets the canonical name of the character encoding that is used for this log. |
IFilter |
getFilter(int index)
Gets the filter that control messages flow via this log. |
Collection |
getFilters()
Gets the filters that control messages flow via this log. |
String |
getFooter()
Sets the footer text of this log. |
Formatter |
getFormatter()
Gets the formatter that dictates the format of log records in this log. |
String |
getHeader()
Gets the header text of this log. |
int |
getMode()
Get current working mode |
String |
getName()
|
String |
getPattern()
Gets the name pattern of this file log. |
String |
getSource()
Gets the source name of this file log. |
String |
getVerInUse()
|
boolean |
isClosed()
Check is this log closed. |
boolean |
isOpened()
Check is this log opened. |
void |
open()
Open this log object. |
protected abstract void |
openInt()
|
void |
removeFilter(IFilter filter)
Removes a filter so that it no longer controls messages flow via this log. |
void |
removeFilters()
Removes all filters associated with this log. |
void |
setDescription(String value)
|
void |
setEncoding(String encoding)
Sets the named character encoding to be used for this log. |
protected void |
setFooter(String value)
|
void |
setFormatter(Formatter formatter)
Sets the formatter that dictates the format of log records in this log. |
protected void |
setHeader(String value)
|
void |
setMode(int mode)
Set current working mode. |
void |
setName(String value)
|
void |
setPattern(String value)
Sets the name pattern of this log. |
void |
setSource(String value)
Sets the source name of this log. |
protected void |
setStatus(int status)
|
protected void |
setVerInUse(String value)
|
int |
status()
Status of this log object. |
| Methods inherited from class com.sap.tc.logging.ExceptionHandling |
|---|
getException, getExceptions, handleException, handleException, resetException, throwException |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int STATUS_INVALID
public static final int STATUS_CLOSED
public static final int STATUS_OPENED
| Constructor Detail |
|---|
public BaseLog()
| Method Detail |
|---|
protected abstract void openInt()
throws OpenException
OpenException
protected abstract void closeInt()
throws CloseException
CloseException
public void open()
throws OpenException
IBaseLog
open in interface IBaseLogOpenExceptionIBaseLog.open()
public void close()
throws CloseException
IBaseLog
close in interface IBaseLogCloseExceptionIBaseLog.close()public int status()
IBaseLog
status in interface IBaseLogIBaseLog.status()public boolean isClosed()
IBaseLog
isClosed in interface IBaseLogIBaseLog.isClosed()public boolean isOpened()
IBaseLog
isOpened in interface IBaseLogIBaseLog.isOpened()public void setPattern(String value)
IBaseLog
setPattern in interface IBaseLogIBaseLog.setPattern(java.lang.String)public String getPattern()
IBaseLog
getPattern in interface IBaseLogIBaseLog.getPattern()public void setSource(String value)
IBaseLog
setSource in interface IBaseLogIBaseLog.setSource(java.lang.String)public String getSource()
IBaseLog
getSource in interface IBaseLogIBaseLog.getSource()public void setEncoding(String encoding)
IBaseLog
setEncoding in interface IBaseLogencoding - Name of character encodingIBaseLog.setEncoding(java.lang.String)public String getEncoding()
IBaseLog
getEncoding in interface IBaseLogIBaseLog.getEncoding()public void setFormatter(Formatter formatter)
IBaseLog
setFormatter in interface IBaseLogformatter - - Formatter instance.
if formatter == null, default ListFormatter() will be created!IBaseLog.setFormatter(com.sap.tc.logging.Formatter)public Formatter getFormatter()
IBaseLog
getFormatter in interface IBaseLogIBaseLog.getFormatter()public String getFooter()
IBaseLog
getFooter in interface IBaseLogIBaseLog.getFooter()public String getHeader()
IBaseLog
getHeader in interface IBaseLogIBaseLog.getHeader()public int getMode()
IBaseLog
getMode in interface IBaseLogIBaseLog.getMode()public void setMode(int mode)
IBaseLog
setMode in interface IBaseLogcom.sap.tc.logging.interfaces.IBaseLog#setMode()public void addFilter(IFilter filter)
IBaseLog
addFilter in interface IBaseLogfilter - New filterIBaseLog.addFilter(com.sap.tc.logging.interfaces.IFilter)public IFilter getFilter(int index)
IBaseLog
getFilter in interface IBaseLogcom.sap.tc.logging.interfaces.IBaseLog#getFilter()public Collection getFilters()
IBaseLog
getFilters in interface IBaseLogIBaseLog.getFilters()public void removeFilter(IFilter filter)
IBaseLog
removeFilter in interface IBaseLogfilter - Filter to be removedIBaseLog.removeFilter(com.sap.tc.logging.interfaces.IFilter)public void removeFilters()
IBaseLog
removeFilters in interface IBaseLogIBaseLog.removeFilters()public void setName(String value)
com.sap.tc.logging.interfaces.IObjectInfo#setName(java.lang.String)public String getName()
getName in interface IObjectInfoIObjectInfo.getName()public void setDescription(String value)
com.sap.tc.logging.interfaces.IObjectInfo#setDescription(java.lang.String)public String getDescription()
getDescription in interface IObjectInfoIObjectInfo.getDescription()public String getVerInUse()
getVerInUse in interface IObjectInfoIObjectInfo.getVerInUse()protected void setStatus(int status)
protected void setHeader(String value)
protected void setFooter(String value)
protected void setVerInUse(String value)
protected Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException| Access Rights |
|---|
| SC | DC |
|---|---|
[sap.com] FRAMEWORK
|
[sap.com] tc/ddic/ddicruntime
|
[sap.com] ENGINEAPI
|
[sap.com] tc/logging
|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/logging/api
|
[sap.com] CORE-TOOLS
|
[sap.com] com.sap.engine.client.lib
|
[sap.com] BRMS-FACADE
|
[sap.com] tc/brms/facade
|
|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||