Package com.e1c.g5.dt.applications
Interface IUrlAccess
-
- All Known Subinterfaces:
IApplicationPublication,IInfobaseApplication,IServerApplication
public interface IUrlAccessThe abstraction for the application itself or application related entities (such as endpoints) to allow to provide available application endpointURL.The interface may be extended by applications or be provided with
IUrlAccessProvider.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IApplicationgetApplication()Returns the context application.StringgetId()Returns the application URL access unique id.Optional<URL>getUrl()Returns the optional available url accessURL.
-
-
-
Method Detail
-
getId
String getId()
Returns the application URL access unique id.- Returns:
- the application URL access unique id, never
null
-
getApplication
IApplication getApplication()
Returns the context application.- Returns:
- the context application, never
null
-
getUrl
Optional<URL> getUrl() throws ApplicationException
Returns the optional available url accessURL. This method may return nothing if an application or application related entity does not have a valid configuration or if it is not running.- Returns:
- the optional available accessible
URL - Throws:
ApplicationException- if endpointURLget error occurred
-
-