fr.ifremer.isisfish.vcs
Enum VCSActionEvent

java.lang.Object
  extended by java.lang.Enum<VCSActionEvent>
      extended by fr.ifremer.isisfish.vcs.VCSActionEvent
All Implemented Interfaces:
Serializable, Comparable<VCSActionEvent>

public enum VCSActionEvent
extends Enum<VCSActionEvent>

Représente une action VCS que l'on souhaite faire

Version:
$Revision: 1.0 $ Last update : $Date: 1 déc. 2008 $ By : $Author: chatellier $
Author:
poussin

Enum Constant Summary
ADD
           
CHECKOUT
           
COMMIT
           
DELETE
           
SWITCH
           
SWITCH_PATH
           
SWITCH_PROTOCOL
           
UPDATE
           
UPDATE_REPOSITORY
           
 
Method Summary
static VCSActionEvent valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VCSActionEvent[] 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

CHECKOUT

public static final VCSActionEvent CHECKOUT

COMMIT

public static final VCSActionEvent COMMIT

UPDATE

public static final VCSActionEvent UPDATE

UPDATE_REPOSITORY

public static final VCSActionEvent UPDATE_REPOSITORY

SWITCH

public static final VCSActionEvent SWITCH

SWITCH_PROTOCOL

public static final VCSActionEvent SWITCH_PROTOCOL

SWITCH_PATH

public static final VCSActionEvent SWITCH_PATH

DELETE

public static final VCSActionEvent DELETE

ADD

public static final VCSActionEvent ADD
Method Detail

values

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

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

valueOf

public static VCSActionEvent 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


Copyright © 1999-2010 CodeLutin. All Rights Reserved.