public interface ExternalBinarySource
Modifier and Type | Method and Description |
---|---|
ExternalBinary |
getLatestRelease()
Retrieves information about the latest release of binary and returns an instance of
ExternalBinary that
represents the latest release. |
ExternalBinary |
getReleaseForVersion(String version)
Retrieves information about a binary release with the desired version and returns an instance of
ExternalBinary that represents the found release. |
ExternalBinary getLatestRelease() throws Exception
ExternalBinary
that
represents the latest release.ExternalBinary
that contains information about the latest release of the binary.Exception
- If anything bad happensExternalBinary getReleaseForVersion(String version) throws Exception
ExternalBinary
that represents the found release.version
- A version of a binary release that should be retrieved.ExternalBinary
that contains information about a binary release with the desired version.Exception
Copyright © 2017 JBoss by Red Hat. All rights reserved.