Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.String> |
endpoints |
static org.slf4j.Logger |
logger |
java.lang.String |
plugin |
java.lang.String |
service |
java.util.List<java.lang.String> |
tags |
Constructor and Description |
---|
Service(java.lang.String plugin,
java.lang.String service)
Creates a new service
|
Service(java.lang.String plugin,
java.lang.String service,
java.util.List<java.lang.String> tags)
Creates a new service
|
Service(java.lang.String plugin,
java.lang.String service,
java.lang.String tag)
Creates a new service
|
Modifier and Type | Method and Description |
---|---|
MethodInformation |
getMethodInformation(java.lang.String endpoint) |
abstract ServerInformation |
getServerInfo(Server server,
java.lang.String endpoint)
Each service has its own methods and server infos; the lowest level of
information being the server information, the implementation of this
method obviously differs for every service.
|
ServiceInformation |
getServiceInformation() |
public static final org.slf4j.Logger logger
public java.lang.String plugin
public java.lang.String service
public java.util.List<java.lang.String> tags
public java.util.List<java.lang.String> endpoints
public Service(java.lang.String plugin, java.lang.String service, java.util.List<java.lang.String> tags)
plugin
- the plugin to which the service belongsservice
- the name of the servicetags
- the tag identifying the servers on which the service can be
checkedpublic Service(java.lang.String plugin, java.lang.String service, java.lang.String tag)
plugin
- the plugin to which the service belongsservice
- the name of the servicetag
- the tag identifying the servers on which the service can be
checkedpublic Service(java.lang.String plugin, java.lang.String service)
plugin
- the plugin to which the service belongsservice
- the name of the servicepublic ServiceInformation getServiceInformation() throws ServerFault
ServerFault
public MethodInformation getMethodInformation(java.lang.String endpoint) throws ServerFault
endpoint
- ServerFault
public abstract ServerInformation getServerInfo(Server server, java.lang.String endpoint)
server
- the server on which the method must be executedendpoint
- the method to be executedCopyright © 2021. All Rights Reserved.