Clover Coverage Report - ARESTC 0.1.7-SNAPSHOT
Coverage timestamp: Fri Aug 27 2010 19:12:04 CEST
0   70   0   -
0   10   -   0
0     -  
1    
 
  ConnectorCommand       Line # 28 0 - 0 0 - -1.0
 
No Tests
 
1    /*
2    *
3    * (C)opyright 2010, Nikolaos Georgosopoulos
4    *
5    * This file is part of ARESTC.
6   
7    ARESTC is free software: you can redistribute it and/or modify
8    it under the terms of the Lesser General Public License as published by
9    the Free Software Foundation, either version 3 of the License, or
10    (at your option) any later version.
11   
12    ARESTC is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15    GNU General Public License for more details.
16   
17    You should have received a copy of the Lesser General Public License
18    along with ARESTC. If not, see <http://www.gnu.org/licenses/>.
19   
20    */
21    package net.sf.arestc.core;
22   
23   
24    // TODO: Auto-generated Javadoc
25    /**
26    * The Interface ConnectorCommand.
27    */
 
28    public interface ConnectorCommand {
29   
30    /**
31    * Equals.
32    *
33    * @param o the o
34    * @return true, if successful
35    */
36    boolean equals(Object o);
37   
38    /**
39    * Gets the next link.
40    *
41    * @return the next link
42    */
43    ConnectorCommand getNextLink();
44   
45    /**
46    * Hash code.
47    *
48    * @return the int
49    */
50    int hashCode();
51   
52    /**
53    * Process.
54    *
55    * @param request the request
56    * @param context the context
57    * @return the connector context
58    * @throws CommandException the command exception
59    */
60    ConnectorContext process(ConnectorRequest request,
61    ConnectorContext context)
62    throws CommandException;
63   
64    /**
65    * Sets the next link.
66    *
67    * @param nextLink the new next link
68    */
69    void setNextLink(ConnectorCommand nextLink);
70    }