public class Package extends Object implements Comparable<Package>
Modifier and Type | Method and Description |
---|---|
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(Package rhs) |
void |
createDepmaps(String groupId,
String artifactId,
String version,
Path jppGroup,
Path jppName) |
FragmentFile |
getMetadata() |
void |
install(Installer installer) |
boolean |
isInstallable() |
public static final String MAIN
public Package(String name)
public void addJarFile(Path file, Path baseName, Collection<Path> symlinks) throws IOException
IOException
public void createDepmaps(String groupId, String artifactId, String version, Path jppGroup, Path jppName)
public void install(Installer installer) throws IOException
IOException
public boolean isInstallable()
public FragmentFile getMetadata()
public int compareTo(Package rhs)
compareTo
in interface Comparable<Package>
Copyright © 2012-2013 Red Hat, Inc.. All Rights Reserved.