1 package org.apache.maven.continuum.web.action; 2 3 import org.slf4j.Logger; 4 import org.slf4j.LoggerFactory; 5 6 /* 7 * Licensed to the Apache Software Foundation (ASF) under one 8 * or more contributor license agreements. See the NOTICE file 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 11 * to you under the Apache License, Version 2.0 (the 12 * "License"); you may not use this file except in compliance 13 * with the License. You may obtain a copy of the License at 14 * 15 * http://www.apache.org/licenses/LICENSE-2.0 16 * 17 * Unless required by applicable law or agreed to in writing, 18 * software distributed under the License is distributed on an 19 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 20 * KIND, either express or implied. See the License for the 21 * specific language governing permissions and limitations 22 * under the License. 23 */ 24 25 /** 26 * TestAction: 27 * 28 * @author jesse 29 * @version $Id: TestAction.java 765385 2009-04-15 21:56:46Z evenisse $ 30 */ 31 public class TestAction 32 extends PlexusActionSupport 33 { 34 private static final Logger logger = LoggerFactory.getLogger( TestAction.class ); 35 36 private String testString; 37 38 public String execute() 39 throws Exception 40 { 41 logger.info( testString ); 42 43 return INPUT; 44 } 45 46 public String getTestString() 47 { 48 return testString; 49 } 50 51 public void setTestString( String testString ) 52 { 53 this.testString = testString; 54 } 55 }