Package io.siddhi.doc.gen.metadata
Enum ExtensionType
- java.lang.Object
-
- java.lang.Enum<ExtensionType>
-
- io.siddhi.doc.gen.metadata.ExtensionType
-
- All Implemented Interfaces:
Serializable,Comparable<ExtensionType>
public enum ExtensionType extends Enum<ExtensionType>
Enum for holding extension types supported by the doc generator and the free marker templatesThe enum values should be changed to match the names used in the documentation The enum values will affect the names used in the documentation as well as the hyperlinks
These enum values will be passed onto the freemarker templates as a map The other members of the enum class will not be accessible from the freemarker templates These can be accesses using the EXTENSION_TYPE variable eg:- EXTENSION_TYPE.FUNCTION
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTE_AGGREGATORFUNCTIONSCRIPTSINKSINK_MAPPERSOURCESOURCE_MAPPERSTORESTREAM_FUNCTIONSTREAM_PROCESSORWINDOW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Map<ExtensionType,Class<?>>getSuperClassMap()StringgetValue()static ExtensionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ExtensionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FUNCTION
public static final ExtensionType FUNCTION
-
ATTRIBUTE_AGGREGATOR
public static final ExtensionType ATTRIBUTE_AGGREGATOR
-
WINDOW
public static final ExtensionType WINDOW
-
STREAM_FUNCTION
public static final ExtensionType STREAM_FUNCTION
-
STREAM_PROCESSOR
public static final ExtensionType STREAM_PROCESSOR
-
SOURCE
public static final ExtensionType SOURCE
-
SINK
public static final ExtensionType SINK
-
SOURCE_MAPPER
public static final ExtensionType SOURCE_MAPPER
-
SINK_MAPPER
public static final ExtensionType SINK_MAPPER
-
STORE
public static final ExtensionType STORE
-
SCRIPT
public static final ExtensionType SCRIPT
-
-
Method Detail
-
values
public static ExtensionType[] 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 (ExtensionType c : ExtensionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExtensionType 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 nameNullPointerException- if the argument is null
-
getSuperClassMap
public static Map<ExtensionType,Class<?>> getSuperClassMap()
-
getValue
public String getValue()
-
-