|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.plugin.pc.content.PackageSyncReport
public class PackageSyncReport
Indicates the results of performing a syncronize with a package source. This object carries the diff information necessary to update the server's current knowledge of the source's packages.
| Constructor Summary | |
|---|---|
PackageSyncReport()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PackageSyncReport()
| Method Detail |
|---|
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 nullpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||