public class DefaultPackage extends Object implements Package, Comparable<DefaultPackage>
Constructor and Description |
---|
DefaultPackage(String name,
InstallerSettings settings,
org.codehaus.plexus.logging.Logger logger) |
Modifier and Type | Method and Description |
---|---|
void |
addEffectivePomFile(Path file,
Path jppGroupId,
Path jppArtifactId) |
void |
addFile(Path file,
Path target,
int mode) |
void |
addFile(Path file,
Path dirPath,
Path fileName,
int mode) |
void |
addJarFile(Path file,
Path baseName,
Collection<Path> symlinks) |
void |
addPomFile(Path file,
Path jppGroupId,
Path jppArtifactId) |
int |
compareTo(DefaultPackage rhs) |
void |
createDepmaps(String groupId,
String artifactId,
String version,
Path jppGroup,
Path jppName,
PackagingRule rule) |
FragmentFile |
getMetadata() |
void |
install(Installer installer) |
boolean |
isInstallable() |
public static final String MAIN
public DefaultPackage(String name, InstallerSettings settings, org.codehaus.plexus.logging.Logger logger)
public void addPomFile(Path file, Path jppGroupId, Path jppArtifactId)
addPomFile
in interface Package
public void addEffectivePomFile(Path file, Path jppGroupId, Path jppArtifactId)
addEffectivePomFile
in interface Package
public void addJarFile(Path file, Path baseName, Collection<Path> symlinks) throws IOException
addJarFile
in interface Package
IOException
public void createDepmaps(String groupId, String artifactId, String version, Path jppGroup, Path jppName, PackagingRule rule)
createDepmaps
in interface Package
public void install(Installer installer) throws IOException
IOException
public boolean isInstallable()
public FragmentFile getMetadata()
getMetadata
in interface Package
public int compareTo(DefaultPackage rhs)
compareTo
in interface Comparable<DefaultPackage>
Copyright © 2012–2013 Red Hat, Inc.. All rights reserved.