Enum Class AuditEnum

java.lang.Object
java.lang.Enum<AuditEnum>
com.espertech.esper.common.client.annotation.AuditEnum
All Implemented Interfaces:
Serializable, Comparable<AuditEnum>, Constable

public enum AuditEnum extends Enum<AuditEnum>
Enumeration of audit values. Since audits may be a comma-separate list in a single @Audit annotation they are listed as enumeration values here.
  • Enum Constant Details

    • PROPERTY

      public static final AuditEnum PROPERTY
      For use with property audit.
    • EXPRESSION

      public static final AuditEnum EXPRESSION
      For use with expression audit.
    • EXPRESSION_NESTED

      public static final AuditEnum EXPRESSION_NESTED
      For use with expression audit.
    • EXPRDEF

      public static final AuditEnum EXPRDEF
      For use with expression-definition audit.
    • VIEW

      public static final AuditEnum VIEW
      For use with view audit.
    • PATTERN

      public static final AuditEnum PATTERN
      For use with pattern audit.
    • PATTERNINSTANCES

      public static final AuditEnum PATTERNINSTANCES
      For use with pattern audit.
    • STREAM

      public static final AuditEnum STREAM
      For use with stream-audit.
    • SCHEDULE

      public static final AuditEnum SCHEDULE
      For use with schedule-audit.
    • INSERT

      public static final AuditEnum INSERT
      For use with insert-into audit.
    • DATAFLOW_SOURCE

      public static final AuditEnum DATAFLOW_SOURCE
      For use with data flow source operators.
    • DATAFLOW_OP

      public static final AuditEnum DATAFLOW_OP
      For use with data flow (non-source and source) operators.
    • DATAFLOW_TRANSITION

      public static final AuditEnum DATAFLOW_TRANSITION
      For use with data flows specifically for transitions.
    • CONTEXTPARTITION

      public static final AuditEnum CONTEXTPARTITION
      For use with insert-into audit.
  • Method Details

    • values

      public static AuditEnum[] 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

      public static AuditEnum valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Returns the constant.
      Returns:
      constant
    • getPrettyPrintText

      public String getPrettyPrintText()
      Returns text used for the category of the audit log item.
      Returns:
      category name
    • getAudit

      public Audit getAudit(Annotation[] annotations)
      Check if the hint is present in the annotations provided.
      Parameters:
      annotations - the annotations to inspect
      Returns:
      indicator