|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.co.petertribble.pkgview.PackageProfile
public class PackageProfile
Field Summary | |
---|---|
static int |
IGNORED
The operation was ignored because it was unnecessary. |
static int |
SUCCESS
The operation succeeded with no extra actions |
static int |
SUCCESS_CHANGED_CLUSTERS
The operation succeeded, and changed the cluster list |
static int |
SUCCESS_CHANGED_PACKAGES
The operation succeeded, and changed the package list |
static int |
SUCCESS_DUPLICATE
The operation succeeded, but did nothing because the requested change was a duplicate. |
Constructor Summary | |
---|---|
PackageProfile(ClusterToc ctoc)
Create a Solaris Installation profile, consisting of a base MetaCluster, and then additional software clusters and packages that can fine tune the installed software. |
|
PackageProfile(ClusterToc ctoc,
MetaCluster mcluster)
Create a Solaris Installation profile, consisting of a base MetaCluster, and then additional software clusters and packages that can fine tune the installed software. |
Method Summary | |
---|---|
int |
addCluster(PackageCluster cluster)
Add a software cluster to the list. |
int |
addPackage(SolarisPackage pkg)
Add a software package to the list. |
java.util.Set<SolarisPackage> |
getPackages()
Get the Set of packages contained in this profile. |
java.lang.String |
getPkglist()
Write out a sorted list of packages contained in this profile. |
java.lang.String |
getProfile()
Write out the installation profile |
void |
initialize(MetaCluster mcluster)
|
int |
removeCluster(PackageCluster cluster)
Remove a software cluster from the list. |
int |
removePackage(SolarisPackage pkg)
Remove a software package from the list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SUCCESS
public static final int IGNORED
public static final int SUCCESS_CHANGED_PACKAGES
public static final int SUCCESS_CHANGED_CLUSTERS
public static final int SUCCESS_DUPLICATE
Constructor Detail |
---|
public PackageProfile(ClusterToc ctoc)
public PackageProfile(ClusterToc ctoc, MetaCluster mcluster)
Method Detail |
---|
public void initialize(MetaCluster mcluster)
public int addCluster(PackageCluster cluster)
public int removeCluster(PackageCluster cluster)
public int addPackage(SolarisPackage pkg)
public int removePackage(SolarisPackage pkg)
public java.util.Set<SolarisPackage> getPackages()
public java.lang.String getProfile()
public java.lang.String getPkglist()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |