public class ServiceApiProperties
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ServiceApiProperties.Fetcher |
Constructor and Description |
---|
ServiceApiProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getDefaultImplementation()
Returns the default implementation of this service
|
ServiceApiProperties.Fetcher |
getFetcher()
Returns the service fetcher instance, null if no fetcher is used
|
boolean |
isImplementable()
Returns if this service is implementable.
|
boolean |
isOptionalConfig()
Returns if the implementation choice setting in server config should be optional.
|
void |
setDefaultImplementation(java.lang.Class defaultImplementation)
Returns the default implementation of this service.
|
void |
setFetcher(ServiceApiProperties.Fetcher fetcher)
Sets a service fetcher instance, null if no fetcher is used
|
void |
setImplementable(boolean implementable)
Sets if this service is implementable.
|
void |
setOptionalConfig(boolean optionalConfig)
Sets if the implementation choice setting in server config should be optional
|
public java.lang.Class getDefaultImplementation()
public void setDefaultImplementation(java.lang.Class defaultImplementation)
defaultImplementation
- public boolean isOptionalConfig()
public void setOptionalConfig(boolean optionalConfig)
public boolean isImplementable()
public void setImplementable(boolean implementable)
public ServiceApiProperties.Fetcher getFetcher()
public void setFetcher(ServiceApiProperties.Fetcher fetcher)