brooklyn.entity.drivers.downloads
Interface DownloadResolverManager.DownloadTargets

Enclosing interface:
DownloadResolverManager

public static interface DownloadResolverManager.DownloadTargets

Describes the download locations, and their order, to try.


Method Summary
 boolean canContinueResolving()
          Indicates whether or not the results of this resolver are the last that should be used.
 List<String> getFallbackLocations()
          Gets the locations to try (in-order), to be used only after all primary locations have been tried.
 List<String> getPrimaryLocations()
          Gets the locations to try (in-order).
 

Method Detail

getPrimaryLocations

List<String> getPrimaryLocations()
Gets the locations to try (in-order).


getFallbackLocations

List<String> getFallbackLocations()
Gets the locations to try (in-order), to be used only after all primary locations have been tried.


canContinueResolving

boolean canContinueResolving()
Indicates whether or not the results of this resolver are the last that should be used. If returns false, resolve(EntityDriver) will not iterate over any other resolvers. For example, useful in an enterprise to disable any other resolvers that would have resulted in going out to the public internet.



Copyright © 2013. All Rights Reserved.