Enum PipelineType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PipelineType>

    public enum PipelineType
    extends java.lang.Enum<PipelineType>
    Enumeration defining valid types for methods that can be registered for availability in pipeline modules
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static PipelineType findType​(java.lang.Class clazz)  
      java.lang.Class<?> getClazz()
      Get the class representing this pipeline type
      int getNativeType()
      Get the index of the type in the native pipeline type enumeration
      static PipelineType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static PipelineType[] 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
    • Method Detail

      • values

        public static PipelineType[] 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 (PipelineType c : PipelineType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PipelineType 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
      • getNativeType

        public int getNativeType()
        Get the index of the type in the native pipeline type enumeration
        Returns:
        the type index used in the pipeline implementation
      • getClazz

        public java.lang.Class<?> getClazz()
        Get the class representing this pipeline type
        Returns:
        class representing the pipeline type
      • findType

        public static PipelineType findType​(java.lang.Class clazz)