Package com.sodius.mdw.server
Interface DiscoveryHelper
-
public interface DiscoveryHelperProvides the URLs of MDWorkbench Server built-in servlets.This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetLaunch(Launch launch)Returns the URL of the 'launch' servlet for a specific launch, on which a GET request can be made to retrieve the launch status.StringgetLaunch(Service service)Returns the URL of the 'launch' servlet for a specific service, on which a POST request can be made to start a service execution.StringgetLaunches()Returns the URL of the 'launch' servlet, on which a POST request can be made to start a service execution.StringgetMetamodel(Metamodel metamodel)Returns the URL of the 'metamodels' servlet for a specific metamodel, on which a GET request can be made to retrieve information of the metamodel.StringgetMetamodels()Returns the URL of the 'metamodels' servlet, on which a GET request can be made to list the available metamodels and connectors.StringgetService(Service service)Returns the URL of the 'service' servlet for a specific service, on which a GET request can be made to retrieve information of the service.StringgetServices()Returns the URL of the 'service' servlet, on which a GET request can be made to list the available services.StringgetStorage(Storage storage)Returns the URL of the 'storage' servlet for a specific storage, on which a GET request can be made to download the content of the storage.StringgetStorages()Returns the URL of the 'storage' servlet, on which a POST request can be made to upload a new storage content.
-
-
-
Method Detail
-
getLaunches
String getLaunches()
Returns the URL of the 'launch' servlet, on which a POST request can be made to start a service execution.- Returns:
- the URL of the 'launch' servlet.
- See Also:
getLaunch(Service)
-
getLaunch
String getLaunch(Launch launch)
Returns the URL of the 'launch' servlet for a specific launch, on which a GET request can be made to retrieve the launch status.- Parameters:
launch- the launch which the servlet URL is to discover.- Returns:
- the URL of the 'launch' servlet for a specific launch.
-
getLaunch
String getLaunch(Service service)
Returns the URL of the 'launch' servlet for a specific service, on which a POST request can be made to start a service execution.- Parameters:
service- the service which the servlet URL is to discover.- Returns:
- the URL of the 'launch' servlet for a specific service.
-
getServices
String getServices()
Returns the URL of the 'service' servlet, on which a GET request can be made to list the available services.- Returns:
- the URL of the 'service' servlet.
-
getService
String getService(Service service)
Returns the URL of the 'service' servlet for a specific service, on which a GET request can be made to retrieve information of the service.- Parameters:
service- the service which the servlet URL is to discover.- Returns:
- the URL of the 'service' servlet for a specific service.
-
getStorages
String getStorages()
Returns the URL of the 'storage' servlet, on which a POST request can be made to upload a new storage content.- Returns:
- the URL of the 'storage' servlet.
-
getStorage
String getStorage(Storage storage)
Returns the URL of the 'storage' servlet for a specific storage, on which a GET request can be made to download the content of the storage.- Parameters:
storage- the storagewhich the servlet URL is to discover.- Returns:
- the URL of the 'storage' servlet for a specific storage.
-
getMetamodels
String getMetamodels()
Returns the URL of the 'metamodels' servlet, on which a GET request can be made to list the available metamodels and connectors.- Returns:
- the URL of the 'metamodels' servlet.
-
getMetamodel
String getMetamodel(Metamodel metamodel)
Returns the URL of the 'metamodels' servlet for a specific metamodel, on which a GET request can be made to retrieve information of the metamodel.- Parameters:
metamodel- the metamodel which the servlet URL is to discover.- Returns:
- the URL of the 'metamodels' servlet for a specific metamodel.
-
-