All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.javadpkg.plugin.cfg.ControlConfiguration Maven / Gradle / Ivy

The newest version!
/*
 * dpkg - Debian Package library and the Debian Package Maven plugin
 * (c) Copyright 2016 Gerrit Hohl
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */
package net.sourceforge.javadpkg.plugin.cfg;

import org.apache.maven.plugins.annotations.Parameter;

/**
 * 

* The control configuration. *

* * @author Gerrit Hohl ([email protected]) * @version 1.0, 03.05.2016 by Gerrit Hohl */ public class ControlConfiguration { /** The name of the package. */ @Parameter(name = "name", required = true) private String name; /** The version. */ @Parameter(name = "version", required = true) private String version; /** The architecture. */ @Parameter(name = "architecture", required = true) private String architecture; /** The section. */ @Parameter(name = "section") private String section; /** The priority. */ @Parameter(name = "priority") private String priority; /** The installed size or the overhead. */ private String installedSize; /** The dependencies. */ @Parameter(name = "depends") private DependenciesConfiguration depends; /** The "Recommends" dependencies. */ @Parameter(name = "recommends") private DependenciesConfiguration recommends; /** The "Suggests" dependencies. */ @Parameter(name = "suggests") private DependenciesConfiguration suggests; /** The "Enhances" dependencies. */ @Parameter(name = "enhances") private DependenciesConfiguration enhances; /** The "Pre-Depends" dependencies. */ @Parameter(name = "preDepends") private DependenciesConfiguration preDepends; /** The "Breaks" dependencies. */ @Parameter(name = "breaks") private DependenciesConfiguration breaks; /** The "Conflicts" dependencies. */ @Parameter(name = "conflicts") private DependenciesConfiguration conflicts; /** The "Provides" dependencies. */ @Parameter(name = "provides") private DependenciesConfiguration provides; /** The "Replaces" dependencies. */ @Parameter(name = "replaces") private DependenciesConfiguration replaces; /** The "Built-Using" dependencies. */ @Parameter(name = "builtUsing") private DependenciesConfiguration builtUsing; /** The maintainer. */ @Parameter(name = "maintainer", required = true) private String maintainer; /** The home-page. */ @Parameter(name = "homepage") private String homepage; /** The description. */ @Parameter(name = "description", required = true) private String description; /** *

* Creates a configuration. *

*/ public ControlConfiguration() { super(); this.name = null; this.version = null; this.architecture = null; this.section = null; this.priority = null; this.installedSize = null; this.depends = null; this.recommends = null; this.suggests = null; this.enhances = null; this.preDepends = null; this.breaks = null; this.conflicts = null; this.provides = null; this.replaces = null; this.builtUsing = null; this.maintainer = null; this.homepage = null; this.description = null; } /** *

* Returns the name of the package. *

* * @return The name. */ public String getName() { return this.name; } /** *

* Sets the name of the package. *

* * @param name * The name. */ public void setName(String name) { this.name = name; } /** *

* Returns the version. *

* * @return The version. */ public String getVersion() { return this.version; } /** *

* Sets the version. *

* * @param version * The version. */ public void setVersion(String version) { this.version = version; } /** *

* Returns the architecture. *

* * @return The architecture. */ public String getArchitecture() { return this.architecture; } /** *

* Sets the architecture. *

* * @param architecture * The architecture. */ public void setArchitecture(String architecture) { this.architecture = architecture; } /** *

* Returns the section. *

* * @return The section. */ public String getSection() { return this.section; } /** *

* Sets the section. *

* * @param section * The section. */ public void setSection(String section) { this.section = section; } /** *

* Returns the priority. *

* * @return The priority. */ public String getPriority() { return this.priority; } /** *

* Sets the priority. *

* * @param priority * The priority. */ public void setPriority(String priority) { this.priority = priority; } /** *

* Returns the installed size or the overhead. *

*

* An overhead can be specified by placing a plus sign before the number. In * this case the real installed size will be calculated by summing up the * sizes of the added files. Then the overhead will be added. *

* * @return The installed size or the overhead in kilobytes. */ public String getInstalledSize() { return this.installedSize; } /** *

* Sets the installed size or the overhead. *

*

* An overhead can be specified by placing a plus sign before the number. In * this case the real installed size will be calculated by summing up the * sizes of the added files. Then the overhead will be added. *

* * @param installedSize * The installed size or the overhead in kilobytes */ public void setInstalledSize(String installedSize) { this.installedSize = installedSize; } /** *

* Returns the dependencies. *

* * @return The dependencies. */ public DependenciesConfiguration getDepends() { return this.depends; } /** *

* Sets the dependencies. *

* * @param depends * The dependencies. */ public void setDepends(DependenciesConfiguration depends) { this.depends = depends; } /** *

* Returns the "Recommends" dependencies. *

* * @return The dependencies. */ public DependenciesConfiguration getRecommends() { return this.recommends; } /** *

* Sets the "Recommends" dependencies. *

* * @param recommends * The dependencies. */ public void setRecommends(DependenciesConfiguration recommends) { this.recommends = recommends; } /** *

* Returns the "Suggest" dependencies. *

* * @return The dependencies. */ public DependenciesConfiguration getSuggests() { return this.suggests; } /** *

* Sets the "Suggest" dependencies. *

* * @param suggests * The dependencies. */ public void setSuggests(DependenciesConfiguration suggests) { this.suggests = suggests; } /** *

* Returns the "Enhances" dependencies. *

* * @return The dependencies. */ public DependenciesConfiguration getEnhances() { return this.enhances; } /** *

* Sets the "Enhances" dependencies. *

* * @param enhances * The dependencies. */ public void setEnhances(DependenciesConfiguration enhances) { this.enhances = enhances; } /** *

* Returns the "Pre-Depends" dependencies. *

* * @return The dependencies. */ public DependenciesConfiguration getPreDepends() { return this.preDepends; } /** *

* Sets the "Pre-Depends" dependencies. *

* * @param preDepends * The dependencies. */ public void setPreDepends(DependenciesConfiguration preDepends) { this.preDepends = preDepends; } /** *

* Returns the "Breaks" dependencies. *

* * @return The dependencies. */ public DependenciesConfiguration getBreaks() { return this.breaks; } /** *

* Sets the "Breaks" dependencies. *

* * @param breaks * The dependencies. */ public void setBreaks(DependenciesConfiguration breaks) { this.breaks = breaks; } /** *

* Returns the "Conflicts" dependencies. *

* * @return The dependencies. */ public DependenciesConfiguration getConflicts() { return this.conflicts; } /** *

* Sets the "Conflicts" dependencies. *

* * @param conflicts * The dependencies. */ public void setConflicts(DependenciesConfiguration conflicts) { this.conflicts = conflicts; } /** *

* Returns the "Provides" dependencies. *

* * @return The dependencies. */ public DependenciesConfiguration getProvides() { return this.provides; } /** *

* Sets the "Provides" dependencies. *

* * @param provides * The dependencies. */ public void setProvides(DependenciesConfiguration provides) { this.provides = provides; } /** *

* Returns the "Replaces" dependencies. *

* * @return The dependencies. */ public DependenciesConfiguration getReplaces() { return this.replaces; } /** *

* Sets the "Replaces" dependencies. *

* * @param replaces * The dependencies. */ public void setReplaces(DependenciesConfiguration replaces) { this.replaces = replaces; } /** *

* Returns the "Built-Using" dependencies. *

* * @return The dependencies. */ public DependenciesConfiguration getBuiltUsing() { return this.builtUsing; } /** *

* Sets the "Built-Using" dependencies. *

* * @param builtUsing * The dependencies. */ public void setBuiltUsing(DependenciesConfiguration builtUsing) { this.builtUsing = builtUsing; } /** *

* Returns the maintainer. *

* * @return The maintainer. */ public String getMaintainer() { return this.maintainer; } /** *

* Sets the maintainer. *

* * @param maintainer * The maintainer. */ public void setMaintainer(String maintainer) { this.maintainer = maintainer; } /** *

* Returns the home-page. *

* * @return The home-page. */ public String getHomepage() { return this.homepage; } /** *

* Sets the home-page. *

* * @param homepage * The home-page. */ public void setHomepage(String homepage) { this.homepage = homepage; } /** *

* Returns the description. *

* * @return The description. */ public String getDescription() { return this.description; } /** *

* Sets the description. *

* * @param description * The description. */ public void setDescription(String description) { this.description = description; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy