com.android.sdklib.repository.local
Class Update.Result

java.lang.Object
  extended by com.android.sdklib.repository.local.Update.Result
Enclosing class:
Update

public static class Update.Result
extends java.lang.Object


Constructor Summary
Update.Result()
           
 
Method Summary
 java.util.Set<RemotePkgInfo> getNewPkgs()
          Returns the set of new remote packages that are not locally present and that the user could install.
 java.util.Set<LocalPkgInfo> getUpdatedPkgs()
          Returns the set of packages that have local updates available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Update.Result

public Update.Result()
Method Detail

getUpdatedPkgs

public java.util.Set<LocalPkgInfo> getUpdatedPkgs()
Returns the set of packages that have local updates available. Use LocalPkgInfo.getUpdate() to retrieve the computed updated candidate.

Returns:
A non-null, possibly empty list of update candidates.

getNewPkgs

public java.util.Set<RemotePkgInfo> getNewPkgs()
Returns the set of new remote packages that are not locally present and that the user could install.

Returns:
A non-null, possibly empty list of new install candidates.