public static enum PeriodicRotatingFileHandler.Period extends Enum<PeriodicRotatingFileHandler.Period>
Enum Constant and Description |
---|
DAY |
HALF_DAY |
HOUR |
MINUTE |
MONTH |
NEVER |
WEEK |
YEAR |
Modifier and Type | Method and Description |
---|---|
static PeriodicRotatingFileHandler.Period |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeriodicRotatingFileHandler.Period[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeriodicRotatingFileHandler.Period MINUTE
public static final PeriodicRotatingFileHandler.Period HOUR
public static final PeriodicRotatingFileHandler.Period HALF_DAY
public static final PeriodicRotatingFileHandler.Period DAY
public static final PeriodicRotatingFileHandler.Period WEEK
public static final PeriodicRotatingFileHandler.Period MONTH
public static final PeriodicRotatingFileHandler.Period YEAR
public static final PeriodicRotatingFileHandler.Period NEVER
public static PeriodicRotatingFileHandler.Period[] values()
for (PeriodicRotatingFileHandler.Period c : PeriodicRotatingFileHandler.Period.values()) System.out.println(c);
public static PeriodicRotatingFileHandler.Period valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 JBoss by Red Hat. All rights reserved.