Enum ServiceKind

    • Enum Constant Detail

      • RULESET

        public static final ServiceKind RULESET
        A service implemented with a Ruleset, declared with a 'rule' element in the service extension. Only one ruleset service can be executed at a time on the server.
      • OPERATION

        public static final ServiceKind OPERATION
        A service implemented with an Operation, declared with an 'operation' element in the service extension. Operation services are executed asynchronously and in parallel on the server.
    • 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​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null