View Javadoc

1   /*
2   Copyright 2010 James Pether Sörling Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 
3   	$Id
4   */
5   
6   package com.hack23.cia.web.action.user;
7   
8   import com.hack23.cia.model.application.impl.user.ExternalUrlActionEvent.Operation;
9   
10  /***
11   * The Class ExternalUrlAction.
12   */
13  public class ExternalUrlAction extends AbstractUserAction {
14  
15      /*** The Constant serialVersionUID. */
16  
17      /*** The Constant serialVersionUID. */
18      private static final long serialVersionUID = 1L;
19  
20      /*** The operation. */
21      private final Operation operation;
22  
23      /***
24       * Instantiates a new external url action.
25       *
26       * @param operation the operation
27       */
28      public ExternalUrlAction(final Operation operation) {
29          super();
30          this.operation = operation;
31      }
32  
33      /***
34       * Gets the operation.
35       *
36       * @return the operation
37       */
38      public final Operation getOperation() {
39          return operation;
40      }
41  }