public static enum Zone.SerialStyle extends Enum<Zone.SerialStyle>
Enum Constant and Description |
---|
DAY
Serials will be in the form of YYYYMMDDxx where xx is incremented by
one for each change during that particular day
|
EPOCH
Serials will be the UNIX timestamp at the time of the publish
|
INCREMENT
Serials are incremented by 1 on every change
|
MINUTE
Serials will be in the form of YYMMDDHHMM
|
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Zone.SerialStyle |
fromValue(String serialStyle) |
String |
toString() |
static Zone.SerialStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Zone.SerialStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Zone.SerialStyle INCREMENT
public static final Zone.SerialStyle EPOCH
public static final Zone.SerialStyle DAY
public static final Zone.SerialStyle MINUTE
public static final Zone.SerialStyle UNRECOGNIZED
public static Zone.SerialStyle[] values()
for (Zone.SerialStyle c : Zone.SerialStyle.values()) System.out.println(c);
public static Zone.SerialStyle 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 nullpublic String toString()
toString
in class Enum<Zone.SerialStyle>
public static Zone.SerialStyle fromValue(String serialStyle)
Copyright © 2009-2013 jclouds. All Rights Reserved.