@ExperimentalApi public final enum


extends Enum<E extends Enum<E>>
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.jira.auditing.AuditingRetentionPeriod


This enum is considered usable by external developers but its contracts have not stabilized.

Experimental APIs may be changed at any time before being marked @Internal or @PublicApi.

Class Overview

Possible values for auditing logs retention period.


Enum Values
AuditingRetentionPeriod  ONE_MONTH   
AuditingRetentionPeriod  SIX_MONTHS   
AuditingRetentionPeriod  THREE_MONTHS   
AuditingRetentionPeriod  UNLIMITED   
Public Methods
@Nullable static AuditingRetentionPeriod getByValue(String value)
static AuditingRetentionPeriod getDefault()
String getNameI18nKey()
static List<AuditingRetentionPeriod> getValidValues()
String getValue()
boolean isShorterThan(AuditingRetentionPeriod that)
boolean isUnlimited()
DateTime monthsIntoPast()
static AuditingRetentionPeriod valueOf(String name)
final static AuditingRetentionPeriod[] values()
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final AuditingRetentionPeriod ONE_MONTH

public static final AuditingRetentionPeriod SIX_MONTHS

public static final AuditingRetentionPeriod THREE_MONTHS

public static final AuditingRetentionPeriod UNLIMITED

Public Methods

@Nullable public static AuditingRetentionPeriod getByValue (String value)

public static AuditingRetentionPeriod getDefault ()

public String getNameI18nKey ()

public static List<AuditingRetentionPeriod> getValidValues ()

public String getValue ()

public boolean isShorterThan (AuditingRetentionPeriod that)

public boolean isUnlimited ()

public DateTime monthsIntoPast ()

public static AuditingRetentionPeriod valueOf (String name)

public static final AuditingRetentionPeriod[] values ()