View Javadoc

1   /*
2    * Copyright 2012 smartics, Kronseder & Reiner GmbH
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  package de.smartics.ci.comm.command;
17  
18  import de.smartics.ci.comm.CiSystem;
19  
20  /**
21   * The type of the login commands.
22   *
23   * @param <T> the concrete type of the command.
24   */
25  public abstract class AbstractLoginCommand<T extends Command<T>> extends
26      AbstractCommand<T> implements Command<T>
27  {
28    // ********************************* Fields *********************************
29  
30    // --- constants ------------------------------------------------------------
31  
32    // --- members --------------------------------------------------------------
33  
34    // ****************************** Initializer *******************************
35  
36    // ****************************** Constructors ******************************
37  
38    // ****************************** Inner Classes *****************************
39  
40    // ********************************* Methods ********************************
41  
42    // --- init -----------------------------------------------------------------
43  
44    // --- get&set --------------------------------------------------------------
45  
46    // --- business -------------------------------------------------------------
47  
48  
49    /**
50     * Executes the command.
51     *
52     * @param target the target to execute the command against.
53     * @throws CommandException signals problems encountered while executing the
54     *           command.
55     */
56    public abstract void execute(final CiSystem target) throws CommandException;
57  
58  
59    // --- object basics --------------------------------------------------------
60  
61  }