EMMA Coverage Report (generated Fri Jun 19 09:16:10 CEST 2009)
[all classes][org.ktc.rbutils.api.audit]

COVERAGE SUMMARY FOR SOURCE FILE [LoggerHelper.java]

nameclass, %method, %block, %line, %
LoggerHelper.java100% (1/1)88%  (7/8)90%  (9/10)89%  (8/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class LoggerHelper100% (1/1)88%  (7/8)90%  (9/10)89%  (8/9)
addInfo (ProcessEvent): void 0%   (0/1)0%   (0/1)0%   (0/1)
LoggerHelper (): void 100% (1/1)100% (3/3)100% (2/2)
addError (ProcessEvent): void 100% (1/1)100% (1/1)100% (1/1)
addException (Exception): void 100% (1/1)100% (1/1)100% (1/1)
processEnded (ProcessEndEvent): void 100% (1/1)100% (1/1)100% (1/1)
processFileEnded (ProcessFileEndEvent): void 100% (1/1)100% (1/1)100% (1/1)
processFileStarted (ProcessFileStartEvent): void 100% (1/1)100% (1/1)100% (1/1)
processStarted (ProcessStartEvent): void 100% (1/1)100% (1/1)100% (1/1)

1/*
2 * Copyright  2005-2006 The RbUtils Project
3 *
4 *  Licensed under the Apache License, Version 2.0 (the "License");
5 *  you may not use this file except in compliance with the License.
6 *  You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 *  Unless required by applicable law or agreed to in writing, software
11 *  distributed under the License is distributed on an "AS IS" BASIS,
12 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 *  See the License for the specific language governing permissions and
14 *  limitations under the License.
15 *
16 */
17 
18// $Id$
19 
20package org.ktc.rbutils.api.audit;
21 
22import org.ktc.rbutils.api.audit.event.ProcessEndEvent;
23import org.ktc.rbutils.api.audit.event.ProcessEvent;
24import org.ktc.rbutils.api.audit.event.ProcessFileEndEvent;
25import org.ktc.rbutils.api.audit.event.ProcessFileStartEvent;
26import org.ktc.rbutils.api.audit.event.ProcessStartEvent;
27 
28/**
29 * An helper implementation of the Logger interface. All methods of the inferface are implemented
30 * and do nothing.
31 * @since RbUtils 0.9.3.3
32 * @version $Revision$
33 * @author moishi
34 */
35public class LoggerHelper implements Logger {
36 
37    /**
38     * Constructs a new instance of LoggerHelper. Do nothing.
39     */
40    public LoggerHelper() {
41        // Do Nothing
42    }
43 
44    /**
45     * {@inheritDoc}
46     */
47    public void processStarted(final ProcessStartEvent event) {
48        // Do Nothing
49    }
50 
51    /**
52     * {@inheritDoc}
53     */
54    public void processEnded(final ProcessEndEvent event) {
55        // Do Nothing
56    }
57 
58    /**
59     * {@inheritDoc}
60     */
61    public void processFileStarted(final ProcessFileStartEvent event) {
62        // Do Nothing
63    }
64 
65    /**
66     * {@inheritDoc}
67     */
68    public void processFileEnded(final ProcessFileEndEvent event) {
69        // Do Nothing
70    }
71 
72    /**
73     * {@inheritDoc}
74     */
75    public void addInfo(final ProcessEvent event) {
76        // Do Nothing
77    }
78 
79    /**
80     * {@inheritDoc}
81     */
82    public void addError(final ProcessEvent event) {
83        // Do Nothing
84    }
85 
86    /**
87     * {@inheritDoc}
88     */
89    public void addException(final Exception exception) {
90        // Do Nothing
91    }
92 
93}

[all classes][org.ktc.rbutils.api.audit]
EMMA 2.0.5312 (C) Vladimir Roubtsov