com.ibm.rational.test.lt.core.logging

Class PDAbstractLog

    • Constructor Summary

      Constructors 
      Modifier Constructor and Description
      protected PDAbstractLog() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void close() 
      protected void createAnEvent(com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry) 
      protected void formatCommonBaseEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent commonBaseEvent, com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry) 
      protected abstract org.eclipse.hyades.logging.events.cbe.EventFactory getEventFactory(com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry) 
      String getStatus() 
      void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity)
      Log a CommonBaseEvent record.
      void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, int[] tokens) 
      void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, int[] tokens, String correlationValue) 
      void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, int[] tokens, Throwable exception) 
      void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, int[] tokens, Throwable exception, String correlationValue) 
      void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, String correlationValue) 
      void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, String[] tokens) 
      void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, String[] tokens, String correlationValue) 
      void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, String[] tokens, Throwable exception) 
      void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, String[] tokens, Throwable exception, String correlationValue) 
      void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, Throwable exception) 
      void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, Throwable exception, String correlationValue) 
      protected abstract void logCommonBaseEvent(com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry, org.eclipse.hyades.logging.events.cbe.CommonBaseEvent commonBaseEvent) 
      String prepareMessage(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, int[] tokens)
      Prepare the message with int tokens.
      String prepareMessage(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, String msgCatalogId, int severity, String[] tokens)
      Prepare a Message.
      protected abstract boolean wouldLog(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent, int severity) 
    • Constructor Detail

      • PDAbstractLog

        protected PDAbstractLog()
    • Method Detail

      • getStatus

        public String getStatus()
      • close

        public void close()
      • prepareMessage

        public String prepareMessage(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
                            String msgCatalogId,
                            int severity,
                            String[] tokens)
        Prepare a Message. This is accomplished by retrieving the message from the catalog and substituting the tokens as needed.
        Specified by:
        prepareMessage in interface IPDAbstractLog
        Parameters:
        subComponent -
        msgCatalogId -
        severity -
        tokens -
        Returns:
        String
      • log

        public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
               String msgCatalogId,
               int severity)
        Log a CommonBaseEvent record.
        Specified by:
        log in interface IPDAbstractLog
      • log

        public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
               String msgCatalogId,
               int severity,
               Throwable exception)
        Specified by:
        log in interface IPDAbstractLog
      • log

        public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
               String msgCatalogId,
               int severity,
               String[] tokens)
        Specified by:
        log in interface IPDAbstractLog
      • log

        public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
               String msgCatalogId,
               int severity,
               int[] tokens)
        Specified by:
        log in interface IPDAbstractLog
      • log

        public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
               String msgCatalogId,
               int severity,
               String[] tokens,
               Throwable exception)
        Specified by:
        log in interface IPDAbstractLog
      • log

        public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
               String msgCatalogId,
               int severity,
               int[] tokens,
               Throwable exception)
        Specified by:
        log in interface IPDAbstractLog
      • log

        public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
               String msgCatalogId,
               int severity,
               String correlationValue)
        Specified by:
        log in interface IPDAbstractLog
      • log

        public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
               String msgCatalogId,
               int severity,
               Throwable exception,
               String correlationValue)
        Specified by:
        log in interface IPDAbstractLog
      • log

        public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
               String msgCatalogId,
               int severity,
               String[] tokens,
               String correlationValue)
        Specified by:
        log in interface IPDAbstractLog
      • log

        public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
               String msgCatalogId,
               int severity,
               String[] tokens,
               Throwable exception,
               String correlationValue)
        Specified by:
        log in interface IPDAbstractLog
      • log

        public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
               String msgCatalogId,
               int severity,
               int[] tokens,
               String correlationValue)
        Specified by:
        log in interface IPDAbstractLog
      • log

        public void log(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
               String msgCatalogId,
               int severity,
               int[] tokens,
               Throwable exception,
               String correlationValue)
        Specified by:
        log in interface IPDAbstractLog
      • wouldLog

        protected abstract boolean wouldLog(com.ibm.rational.test.lt.core.logging.ILTSubComponent subComponent,
                       int severity)
      • createAnEvent

        protected void createAnEvent(com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry)
      • getEventFactory

        protected abstract org.eclipse.hyades.logging.events.cbe.EventFactory getEventFactory(com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry)
      • formatCommonBaseEvent

        protected void formatCommonBaseEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent commonBaseEvent,
                                 com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry)
        Parameters:
        commonBaseEvent - org.eclipse.hyades.logging.events.cbe.CommonBaseEvent
        logEntry - com.ibm.rational.test.lt.core.loggin.PDAbstractLog.PDLogEntry
      • logCommonBaseEvent

        protected abstract void logCommonBaseEvent(com.ibm.rational.test.lt.core.logging.PDAbstractLog.PDLogEntry logEntry,
                              org.eclipse.hyades.logging.events.cbe.CommonBaseEvent commonBaseEvent)
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.