Enum Class AuditEnum
- All Implemented Interfaces:
Serializable
,Comparable<AuditEnum>
,Constable
Enumeration of audit values. Since audits may be a comma-separate list in a single @Audit annotation
they are listed as enumeration values here.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFor use with insert-into audit.For use with data flow (non-source and source) operators.For use with data flow source operators.For use with data flows specifically for transitions.For use with expression-definition audit.For use with expression audit.For use with expression audit.For use with insert-into audit.For use with pattern audit.For use with pattern audit.For use with property audit.For use with schedule-audit.For use with stream-audit.For use with view audit. -
Method Summary
Modifier and TypeMethodDescriptiongetAudit
(Annotation[] annotations) Check if the hint is present in the annotations provided.Returns text used for the category of the audit log item.getValue()
Returns the constant.static AuditEnum
Returns the enum constant of this class with the specified name.static AuditEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROPERTY
For use with property audit. -
EXPRESSION
For use with expression audit. -
EXPRESSION_NESTED
For use with expression audit. -
EXPRDEF
For use with expression-definition audit. -
VIEW
For use with view audit. -
PATTERN
For use with pattern audit. -
PATTERNINSTANCES
For use with pattern audit. -
STREAM
For use with stream-audit. -
SCHEDULE
For use with schedule-audit. -
INSERT
For use with insert-into audit. -
DATAFLOW_SOURCE
For use with data flow source operators. -
DATAFLOW_OP
For use with data flow (non-source and source) operators. -
DATAFLOW_TRANSITION
For use with data flows specifically for transitions. -
CONTEXTPARTITION
For use with insert-into audit.
-
-
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
-
getValue
Returns the constant.- Returns:
- constant
-
getPrettyPrintText
Returns text used for the category of the audit log item.- Returns:
- category name
-
getAudit
Check if the hint is present in the annotations provided.- Parameters:
annotations
- the annotations to inspect- Returns:
- indicator
-