org.jenkinsci.plugins.darcs
Enum DarcsSaxHandler.DarcsPatchTagAttribute

java.lang.Object
  extended by java.lang.Enum<DarcsSaxHandler.DarcsPatchTagAttribute>
      extended by org.jenkinsci.plugins.darcs.DarcsSaxHandler.DarcsPatchTagAttribute
All Implemented Interfaces:
Serializable, Comparable<DarcsSaxHandler.DarcsPatchTagAttribute>
Enclosing class:
DarcsSaxHandler

private static enum DarcsSaxHandler.DarcsPatchTagAttribute
extends Enum<DarcsSaxHandler.DarcsPatchTagAttribute>

Attributes the <patch> has.


Enum Constant Summary
AUTHOR
          Author attribute.
DATE
          date attribute.
HASH
          Hash attribute.
INVERTED
          Inverted attribute.
LOCAL_DATE
          Local date attribute.
 
Field Summary
private  String name
          Name of the attribute.
 
Method Summary
 String getName()
          Get the attribute name.
static DarcsSaxHandler.DarcsPatchTagAttribute valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DarcsSaxHandler.DarcsPatchTagAttribute[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AUTHOR

public static final DarcsSaxHandler.DarcsPatchTagAttribute AUTHOR
Author attribute.


DATE

public static final DarcsSaxHandler.DarcsPatchTagAttribute DATE
date attribute.


LOCAL_DATE

public static final DarcsSaxHandler.DarcsPatchTagAttribute LOCAL_DATE
Local date attribute.


HASH

public static final DarcsSaxHandler.DarcsPatchTagAttribute HASH
Hash attribute.


INVERTED

public static final DarcsSaxHandler.DarcsPatchTagAttribute INVERTED
Inverted attribute.

Field Detail

name

private final String name
Name of the attribute.

Method Detail

values

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

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

valueOf

public static DarcsSaxHandler.DarcsPatchTagAttribute 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

getName

public String getName()
Get the attribute name.

Returns:
lower cased attribute name


Copyright © 2004-2013 weltraumschaf.de. All Rights Reserved.