org.jclouds.dynect.v3.domain
Enum Zone.SerialStyle

java.lang.Object
  extended by java.lang.Enum<Zone.SerialStyle>
      extended by org.jclouds.dynect.v3.domain.Zone.SerialStyle
All Implemented Interfaces:
Serializable, Comparable<Zone.SerialStyle>
Enclosing class:
Zone

public static enum Zone.SerialStyle
extends Enum<Zone.SerialStyle>


Enum Constant Summary
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
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INCREMENT

public static final Zone.SerialStyle INCREMENT
Serials are incremented by 1 on every change


EPOCH

public static final Zone.SerialStyle EPOCH
Serials will be the UNIX timestamp at the time of the publish


DAY

public static final Zone.SerialStyle DAY
Serials will be in the form of YYYYMMDDxx where xx is incremented by one for each change during that particular day


MINUTE

public static final Zone.SerialStyle MINUTE
Serials will be in the form of YYMMDDHHMM


UNRECOGNIZED

public static final Zone.SerialStyle UNRECOGNIZED
Method Detail

values

public static Zone.SerialStyle[] 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 (Zone.SerialStyle c : Zone.SerialStyle.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Zone.SerialStyle 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 name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<Zone.SerialStyle>

fromValue

public static Zone.SerialStyle fromValue(String serialStyle)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.