Package org.wildfly.security.audit
Enum PeriodicRotatingFileAuditEndpoint.Period
- java.lang.Object
-
- java.lang.Enum<PeriodicRotatingFileAuditEndpoint.Period>
-
- org.wildfly.security.audit.PeriodicRotatingFileAuditEndpoint.Period
-
- All Implemented Interfaces:
Serializable
,Comparable<PeriodicRotatingFileAuditEndpoint.Period>
- Enclosing class:
- PeriodicRotatingFileAuditEndpoint
static enum PeriodicRotatingFileAuditEndpoint.Period extends Enum<PeriodicRotatingFileAuditEndpoint.Period>
Possible period values. Keep in strictly ascending order of magnitude.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Period()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PeriodicRotatingFileAuditEndpoint.Period
valueOf(String name)
Returns the enum constant of this type with the specified name.static PeriodicRotatingFileAuditEndpoint.Period[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MINUTE
public static final PeriodicRotatingFileAuditEndpoint.Period MINUTE
-
HOUR
public static final PeriodicRotatingFileAuditEndpoint.Period HOUR
-
HALF_DAY
public static final PeriodicRotatingFileAuditEndpoint.Period HALF_DAY
-
DAY
public static final PeriodicRotatingFileAuditEndpoint.Period DAY
-
WEEK
public static final PeriodicRotatingFileAuditEndpoint.Period WEEK
-
MONTH
public static final PeriodicRotatingFileAuditEndpoint.Period MONTH
-
YEAR
public static final PeriodicRotatingFileAuditEndpoint.Period YEAR
-
NEVER
public static final PeriodicRotatingFileAuditEndpoint.Period NEVER
-
-
Method Detail
-
values
public static PeriodicRotatingFileAuditEndpoint.Period[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PeriodicRotatingFileAuditEndpoint.Period c : PeriodicRotatingFileAuditEndpoint.Period.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PeriodicRotatingFileAuditEndpoint.Period valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-