EMMA Coverage Report (generated Sun Aug 17 11:20:34 PDT 2014)
[all classes][net.digitaltsunami.tmeter.event]

COVERAGE SUMMARY FOR SOURCE FILE [TimerStoppedEvent.java]

nameclass, %method, %block, %line, %
TimerStoppedEvent.java100% (1/1)100% (2/2)100% (8/8)100% (3/3)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class TimerStoppedEvent100% (1/1)100% (2/2)100% (8/8)100% (3/3)
TimerStoppedEvent (Timer): void 100% (1/1)100% (4/4)100% (2/2)
getTimer (): Timer 100% (1/1)100% (4/4)100% (1/1)

1/* __copyright_begin__
2   Copyright 2011 Dan Hagberg
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__copyright_end__ */
16package net.digitaltsunami.tmeter.event;
17 
18import java.util.EventObject;
19 
20import net.digitaltsunami.tmeter.Timer;
21 
22public class TimerStoppedEvent extends EventObject {
23 
24    private static final long serialVersionUID = -4521533334911873218L;
25 
26    /**
27     * Construct a completion event providing the timer that has completed.
28     * 
29     * @param source
30     */
31    public TimerStoppedEvent(Timer timer) {
32        super(timer);
33    }
34 
35    public Timer getTimer() {
36        return (Timer) getSource();
37    }
38 
39}

[all classes][net.digitaltsunami.tmeter.event]
EMMA 2.1.5320 (stable) (C) Vladimir Roubtsov