EMMA Coverage Report (generated Thu Jan 20 11:39:44 EST 2011)
[all classes][com.hammurapi.eventbus]

COVERAGE SUMMARY FOR SOURCE FILE [RemoveCommand.java]

nameclass, %method, %block, %line, %
RemoveCommand.java100% (1/1)75%  (3/4)41%  (19/46)67%  (6/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class RemoveCommand100% (1/1)75%  (3/4)41%  (19/46)67%  (6/9)
toString (): String 0%   (0/1)0%   (0/27)0%   (0/3)
RemoveCommand (AbstractEventBus$Handle, Object, EventHandler, InferenceContex... 100% (1/1)100% (13/13)100% (4/4)
getHandle (): AbstractEventBus$Handle 100% (1/1)100% (3/3)100% (1/1)
isForUpdate (): boolean 100% (1/1)100% (3/3)100% (1/1)

1package com.hammurapi.eventbus;
2 
3import java.util.Arrays;
4 
5import com.hammurapi.eventbus.AbstractEventBus.Handle;
6 
7 
8/**
9 * @author Pavel Vlasov
10 *
11 * @param <E>
12 * @param <P>
13 * @param <C>
14 * @param <H>
15 */
16public class RemoveCommand<E, P extends Comparable<P>, C, K, H extends EventBus.Handle<E,P,C>, S extends EventStore<E,P,C,H,S>> extends InferenceCommand<E,P,C,K,H,S> {
17        
18        private Handle<E,P,C,K> handle;
19        private boolean forUpdate;
20 
21        public RemoveCommand(
22                        Handle<E,P,C,K> handle, 
23                        K handlerId,
24                        EventHandler<E, P, C, H, S> handler, 
25                        InferenceContext<E,P,C,K,H,S> inferenceContext,
26                        boolean forUpdate,
27                        Handle<E,P,C,K>[] inputs) {
28                super(handlerId,handler,inputs,inferenceContext);
29                this.handle = handle;
30                this.forUpdate = forUpdate;
31        }
32 
33        public Handle<E, P, C, K> getHandle() {
34                return handle;
35        }
36        
37        public boolean isForUpdate() {
38                return forUpdate;
39        }
40 
41        @Override
42        public String toString() {
43                return "RemoveCommand [handle=" + handle
44                                + ", handler=" + getHandler() + ", forUpdate=" + forUpdate + ", inputs="
45                                + Arrays.toString(getInputs()) + "]";
46        }
47        
48        
49}

[all classes][com.hammurapi.eventbus]
EMMA 2.0.5312 EclEmma Fix 2 (C) Vladimir Roubtsov