Interface Server
-
- All Superinterfaces:
de.iip_ecosphere.platform.services.environment.ProcessSpec,ProcessSpec
- All Known Implementing Classes:
YamlServer
public interface Server extends ProcessSpec
Server process specification of servers to be started/stopped with an application.- Author:
- Holger Eichelberger, SSE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCls()Returns the class to be started as server.java.lang.StringgetDescription()Returns the description of the server.java.lang.StringgetHost()Returns the host the server instance (may be superseded through a deployment plan).java.lang.StringgetId()Returns the id of the server, also to be used as network management key.intgetPort()Returns the network port of this server instance.de.iip_ecosphere.platform.support.iip_aas.VersiongetVersion()Returns the version of the server.de.iip_ecosphere.platform.services.environment.YamlServicetoService()Turns this server into a temporary (partially default filled) service instance.-
Methods inherited from interface de.iip_ecosphere.platform.services.environment.ProcessSpec
getArtifacts, getCmdArg, getExecutable, getExecutablePath, getHomePath, isStarted
-
Methods inherited from interface de.iip_ecosphere.platform.services.spring.descriptor.ProcessSpec
getAasEndpoint, getCmdArg, getServiceStreamEndpoint, getStreamEndpoint, getWaitTime
-
-
-
-
Method Detail
-
getId
java.lang.String getId()
Returns the id of the server, also to be used as network management key.- Returns:
- the id of the server
-
getVersion
de.iip_ecosphere.platform.support.iip_aas.Version getVersion()
Returns the version of the server.- Returns:
- the version
-
getDescription
java.lang.String getDescription()
Returns the description of the server.- Returns:
- the description
-
getPort
int getPort()
Returns the network port of this server instance.- Returns:
- the network port
-
getHost
java.lang.String getHost()
Returns the host the server instance (may be superseded through a deployment plan).- Returns:
- the host name
-
getCls
java.lang.String getCls()
Returns the class to be started as server. Must implementServer.- Returns:
- the class name
-
toService
de.iip_ecosphere.platform.services.environment.YamlService toService()
Turns this server into a temporary (partially default filled) service instance.- Returns:
- the service instance
-
-