Package org.apache.nifi.expression
Enum Class ExpressionLanguageScope
- All Implemented Interfaces:
Serializable
,Comparable<ExpressionLanguageScope>
,Constable
Indicates the scope of expression language on a property descriptor.
Scope of the expression language is hierarchical.
NONE -> ENVIRONMENT -> FLOWFILE_ATTRIBUTES
When scope is set to FlowFiles attributes, variables are evaluated
against attributes of each incoming flow file. If no matching attribute
is found, env/syst properties will be checked.
NONE - expression language is not supported
ENVIRONMENT - Environment variables defined at JVM level and system properties.
FLOWFILE_ATTRIBUTES - will check attributes of each individual flow file
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExpression language is evaluated against variables in registryExpression language is evaluated per flow file using attributesExpression language is disabled -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExpressionLanguageScope
Returns the enum constant of this class with the specified name.static ExpressionLanguageScope[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Expression language is disabled -
ENVIRONMENT
Expression language is evaluated against variables in registry -
FLOWFILE_ATTRIBUTES
Expression language is evaluated per flow file using attributes
-
-
Field Details
-
description
-
-
Constructor Details
-
ExpressionLanguageScope
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getDescription
-