public class PackageSyncReport extends Object
| Constructor and Description |
|---|
PackageSyncReport() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDeletePackage(ContentProviderPackageDetails deletedPackage)
Add to the set of packages that are known to the server but no longer in the external source.
|
void |
addNewPackage(ContentProviderPackageDetails newPackage)
Add to the set of packages that have been added to the external package source that are not yet known to the
server.
|
void |
addUpdatedPackage(ContentProviderPackageDetails updatedPackage)
Add to the set of packages that are already known to the server and whose metadata has changed in the external
package source.
|
Set<ContentProviderPackageDetails> |
getDeletedPackages() |
Set<ContentProviderPackageDetails> |
getNewPackages() |
String |
getSummary() |
Set<ContentProviderPackageDetails> |
getUpdatedPackages() |
void |
setSummary(String summary)
The synchronization summary.
|
String |
toString() |
public Set<ContentProviderPackageDetails> getNewPackages()
public void addNewPackage(ContentProviderPackageDetails newPackage)
newPackage - contains the details of the new package to be added; should not be nullpublic Set<ContentProviderPackageDetails> getUpdatedPackages()
public void addUpdatedPackage(ContentProviderPackageDetails updatedPackage)
new packages list.updatedPackage - contains the new information of a package that was updated; should not be
nullpublic Set<ContentProviderPackageDetails> getDeletedPackages()
public void addDeletePackage(ContentProviderPackageDetails deletedPackage)
deletedPackage - details object identifying the package that was removed; should not be nullpublic String getSummary()
public void setSummary(String summary)
summary - should not be nullCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.