Brooklyn

brooklyn.entity.drivers.downloads
[Java] Interface DownloadResolverManager.DownloadTargets


public interface DownloadResolverManager.DownloadTargets

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

Authors:
aled


Method Summary
boolean canContinueResolving()

Indicates whether or not the results of this resolver are the last that should be used.

java.util.List getFallbackLocations()

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

java.util.List getPrimaryLocations()

Gets the locations to try (in-order).

 

Method Detail

canContinueResolving

public boolean canContinueResolving()
Indicates whether or not the results of this resolver are the last that should be used. If returns false, resolve(brooklyn.entity.drivers.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.


getFallbackLocations

public java.util.List getFallbackLocations()
Gets the locations to try (in-order), to be used only after all primary locations have been tried.


getPrimaryLocations

public java.util.List getPrimaryLocations()
Gets the locations to try (in-order).


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.