patterntesting.runtime.log
Class Trace

Package class diagram package Trace
java.lang.Object
  extended by patterntesting.runtime.log.Trace

public final class Trace
extends Object

This class works together with the (Abstract)TraceAspect to provide some kind of tracing information.

Since:
1.0.3 (30.09.2010)
Author:
oliver

Method Summary
static void end(JoinPoint joinpoint)
          Logs the trace with a start sign ("<").
static void end(JoinPoint joinpoint, Object result)
          Logs the trace with a start sign ("<").
static void end(JoinPoint joinpoint, String suffix)
          Logs the trace with a start sign ("<").
static void start(JoinPoint joinpoint)
          Logs the trace with a start sign (">").
static void throwing(JoinPoint joinpoint, Throwable t)
          Logs the thrown exception.
static void trace(JoinPoint joinpoint)
          Logs the trace with a "|" sign.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

start

public static void start(JoinPoint joinpoint)
Logs the trace with a start sign (">").

Parameters:
joinpoint - the joinpoint

end

public static void end(JoinPoint joinpoint)
Logs the trace with a start sign ("<").

Parameters:
joinpoint - the joinpoint

end

public static void end(JoinPoint joinpoint,
                       Object result)
Logs the trace with a start sign ("<").

Parameters:
joinpoint - the joinpoint
result - the result

throwing

public static void throwing(JoinPoint joinpoint,
                            Throwable t)
Logs the thrown exception.

Parameters:
joinpoint - the joinpoint
t - the t

end

public static void end(JoinPoint joinpoint,
                       String suffix)
Logs the trace with a start sign ("<").

Parameters:
joinpoint - the joinpoint
suffix - the suffix

trace

public static void trace(JoinPoint joinpoint)
Logs the trace with a "|" sign.

Parameters:
joinpoint - the joinpoint


Copyright © 2002–2014 PatternTesting Team. All rights reserved.