Package ubic.gemma.web.assets
Class ExternalStaticAssetServer
java.lang.Object
ubic.gemma.web.assets.ExternalStaticAssetServer
- All Implemented Interfaces:
StaticAssetServer
An external static asset server that provide assets from a specified base URL.
- Author:
- poirigui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtain the base URL for resolving static assets from the server.Obtain launch instructions if the server is not running.boolean
isAlive()
Indicate if the static asset server is running.
-
Constructor Details
-
ExternalStaticAssetServer
-
-
Method Details
-
getBaseUrl
Description copied from interface:StaticAssetServer
Obtain the base URL for resolving static assets from the server.- Specified by:
getBaseUrl
in interfaceStaticAssetServer
-
isAlive
public boolean isAlive()Description copied from interface:StaticAssetServer
Indicate if the static asset server is running.- Specified by:
isAlive
in interfaceStaticAssetServer
-
getLaunchInstruction
Description copied from interface:StaticAssetServer
Obtain launch instructions if the server is not running.- Specified by:
getLaunchInstruction
in interfaceStaticAssetServer
-