1 /* 2 * dpkg - Debian Package library and the Debian Package Maven plugin 3 * (c) Copyright 2016 Gerrit Hohl 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License 7 * as published by the Free Software Foundation; either version 2 8 * of the License, or (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 */ 19 package net.sourceforge.javadpkg.plugin.cfg; 20 21 import org.apache.maven.plugins.annotations.Parameter; 22 23 /** 24 * <p> 25 * The license configuration. 26 * </p> 27 * 28 * @author Gerrit Hohl (gerrit-hohl@users.sourceforge.net) 29 * @version <b>1.0</b>, 09.05.2016 by Gerrit Hohl 30 */ 31 public class CopyrightLicenseConfiguration { 32 33 34 /** The name. */ 35 @Parameter(name = "name", required = true) 36 private String name; 37 /** The text. */ 38 @Parameter(name = "text") 39 private String text; 40 41 42 /** 43 * <p> 44 * Creates a configuration 45 * </p> 46 */ 47 public CopyrightLicenseConfiguration() { 48 super(); 49 50 this.name = null; 51 this.text = null; 52 } 53 54 55 /** 56 * <p> 57 * Returns the name. 58 * </p> 59 * 60 * @return The name or <code>null</code>, if no name is set. 61 */ 62 public String getName() { 63 return this.name; 64 } 65 66 67 /** 68 * <p> 69 * Sets the name. 70 * </p> 71 * 72 * @param name 73 * The name. 74 */ 75 public void setName(String name) { 76 this.name = name; 77 } 78 79 80 /** 81 * <p> 82 * Returns the text. 83 * </p> 84 * 85 * @return The text. 86 */ 87 public String getText() { 88 return this.text; 89 } 90 91 92 /** 93 * <p> 94 * Sets the text. 95 * </p> 96 * 97 * @param text 98 * The text. 99 */ 100 public void setText(String text) { 101 this.text = text; 102 } 103 104 105 }