public final enum

Priority

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.stash.audit.Priority

Class Overview

The priority level which audit events can be raised with, lower levels are filtered out first by consumers. Use none to turn off an inherited @Audited annotation

Summary

Enum Values
Priority  HIGH   
Priority  LOW   
Priority  MEDIUM   
Priority  NONE   
Public Methods
int getWeight()
Retrieves the weight of this priority relative to other priorities.
static Priority valueOf(String name)
final static Priority[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Priority HIGH

public static final Priority LOW

public static final Priority MEDIUM

public static final Priority NONE

Public Methods

public int getWeight ()

Retrieves the weight of this priority relative to other priorities. When filtering, higher weighted priorities will be filtered last.

Returns
  • the weight of this priority

public static Priority valueOf (String name)

public static final Priority[] values ()