com.googlecode.mavenfilesync
Enum FileSyncSetupMojo.Param

java.lang.Object
  extended by java.lang.Enum<FileSyncSetupMojo.Param>
      extended by com.googlecode.mavenfilesync.FileSyncSetupMojo.Param
All Implemented Interfaces:
Serializable, Comparable<FileSyncSetupMojo.Param>
Enclosing class:
FileSyncSetupMojo

public static enum FileSyncSetupMojo.Param
extends Enum<FileSyncSetupMojo.Param>

Defines all the possible params that can be used in the settings file - defined by the filesync settings file standard.

Author:
marek

Enum Constant Summary
DEFAULT_DESTINATION
           
DEFAULT_VARIABLES
           
ECLIPSE_PREFERENCES_VERSION
           
INCLUDE_TEAM_PRIVATE_FILES
           
USE_CURRENT_DATE_FOR_DESTINATION_FILES
           
 
Method Summary
 String toString()
           
static FileSyncSetupMojo.Param valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FileSyncSetupMojo.Param[] 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

DEFAULT_DESTINATION

public static final FileSyncSetupMojo.Param DEFAULT_DESTINATION

DEFAULT_VARIABLES

public static final FileSyncSetupMojo.Param DEFAULT_VARIABLES

ECLIPSE_PREFERENCES_VERSION

public static final FileSyncSetupMojo.Param ECLIPSE_PREFERENCES_VERSION

INCLUDE_TEAM_PRIVATE_FILES

public static final FileSyncSetupMojo.Param INCLUDE_TEAM_PRIVATE_FILES

USE_CURRENT_DATE_FOR_DESTINATION_FILES

public static final FileSyncSetupMojo.Param USE_CURRENT_DATE_FOR_DESTINATION_FILES
Method Detail

values

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

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

valueOf

public static FileSyncSetupMojo.Param 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<FileSyncSetupMojo.Param>


Copyright © 2011. All Rights Reserved.