Enum ServiceKind
- java.lang.Object
-
- java.lang.Enum<ServiceKind>
-
- de.iip_ecosphere.platform.services.environment.ServiceKind
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ServiceKind>
public enum ServiceKind extends java.lang.Enum<ServiceKind>
Defines the service kind.- Author:
- Holger Eichelberger, SSE
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PROBE_SERVICEA probe service receiving data and turning it into alarms or monitoring information.SERVERA server process being executed in the environment of a service to utilize the communication capabilities of the service/transport/parameters.SINK_SERVICEA sink service consuming data and not re-emitting data.SOURCE_SERVICEA source service providing some form of input data, e.g., a connector.TRANSFORMATION_SERVICEA transformation service in the widest sense, may be an AI service.
-
Constructor Summary
Constructors Modifier Constructor Description privateServiceKind()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceKindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ServiceKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOURCE_SERVICE
public static final ServiceKind SOURCE_SERVICE
A source service providing some form of input data, e.g., a connector.
-
TRANSFORMATION_SERVICE
public static final ServiceKind TRANSFORMATION_SERVICE
A transformation service in the widest sense, may be an AI service.
-
SINK_SERVICE
public static final ServiceKind SINK_SERVICE
A sink service consuming data and not re-emitting data.
-
PROBE_SERVICE
public static final ServiceKind PROBE_SERVICE
A probe service receiving data and turning it into alarms or monitoring information.
-
SERVER
public static final ServiceKind SERVER
A server process being executed in the environment of a service to utilize the communication capabilities of the service/transport/parameters. Internal service kind.
-
-
Method Detail
-
values
public static ServiceKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServiceKind c : ServiceKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-