Enum 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_SERVICE
      A probe service receiving data and turning it into alarms or monitoring information.
      SERVER
      A server process being executed in the environment of a service to utilize the communication capabilities of the service/transport/parameters.
      SINK_SERVICE
      A sink service consuming data and not re-emitting data.
      SOURCE_SERVICE
      A source service providing some form of input data, e.g., a connector.
      TRANSFORMATION_SERVICE
      A transformation service in the widest sense, may be an AI service.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ServiceKind()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ServiceKind valueOf​(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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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.
    • Constructor Detail

      • ServiceKind

        private ServiceKind()
    • 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 name
        java.lang.NullPointerException - if the argument is null