Interface ManifestRetriever
public interface ManifestRetriever
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptiongetApplicationStatus(URI uri, ApplicationType type) getManifest(URI uri) getManifest(URI uri, ApplicationType type)
-
Method Details
-
getManifest
- Parameters:
uri- the base url of the application to retrieve aManifestfrom- Returns:
- the
Manifestof the remote application, will never return null - Throws:
ManifestNotFoundException- if the remote application did not provide a manifest for any reason (e.g. remote server was down, remote server does not support UAL, REST end-point is disabled in the remote server etc.)
-
getManifest
- Parameters:
uri- the base url of the application to retrieve aManifestfromtype- the type of the target application - this application type'sManifestProducerspecified by it's plugin descriptor will be used to retrieve/generate a suitable manifest- Returns:
- the
Manifestof the remote application, will never return null - Throws:
ManifestNotFoundException- if the remote application did not provide a manifest for any reason (e.g. remote server was down, remote server does not support UAL, REST end-point is disabled in the remote server etc.)- See Also:
-
getApplicationStatus
- Parameters:
uri- the base url of the application to retrieveApplicationStatusfromtype- the type of the target application - this application type'sManifestProducerspecified by it's plugin descriptor will be used to retrieve/generate theApplicationStatusobject- Returns:
- the current state of the application located at the specified base url
- See Also:
-