![JAR search and dependency download from the Maven repository](/logo.png)
net.sourceforge.javadpkg.control.Control Maven / Gradle / Ivy
/*
* dpkg - Debian Package library and the Debian Package Maven plugin
* (c) Copyright 2015 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.control;
/**
*
* The control of a Debian package.
*
*
* See
* Chapter 5 - Control files and their fields for further information.
*
*
* @author Gerrit Hohl ([email protected])
* @version 1.0, 31.12.2015 by Gerrit Hohl
*/
public interface Control {
/**
*
* Returns the source package dependency.
*
*
* If the control is the control of a source package this package dependency
* contains only the package name.
*
*
* If the control is the control of a binary package this package dependency
* is the dependency on the corresponding source packages maybe including a
* version.
*
*
* @return The package dependency.
*/
PackageDependency getSource();
/**
*
* Returns the version of the package.
*
*
* @return The version.
*/
PackageVersion getVersion();
/**
*
* Returns the architecture.
*
*
* @return The architecture.
*/
Architecture getArchitecture();
/**
*
* Returns the multiple architecture property.
*
*
* @return The multiple architecture property.
*/
PackageMultiArchitecture getMultiArchitecture();
/**
*
* Returns the maintainer.
*
*
* @return The maintainer.
*/
PackageMaintainer getMaintainer();
/**
*
* Returns the original maintainer.
*
*
* @return The original maintainer.
*/
PackageMaintainer getOriginalMaintainer();
/**
*
* Returns the homepage.
*
*
* @return The homepage.
*/
Homepage getHomepage();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy