EGF Engine
Release 0.1.0

org.eclipse.egf.common.helper
Enum ProjectHelper.ProjectExistenceStatus

java.lang.Object
  extended by java.lang.Enum<ProjectHelper.ProjectExistenceStatus>
      extended by org.eclipse.egf.common.helper.ProjectHelper.ProjectExistenceStatus
All Implemented Interfaces:
Serializable, Comparable<ProjectHelper.ProjectExistenceStatus>
Enclosing class:
ProjectHelper

public static enum ProjectHelper.ProjectExistenceStatus
extends Enum<ProjectHelper.ProjectExistenceStatus>

Project existence status after check.
The project already exists (including default structure), or it has just been created, or creation process failed.
Internal purpose only.


Enum Constant Summary
ALREADY_EXISTS
           
CREATED
           
CREATION_FAILED
           
 
Method Summary
static ProjectHelper.ProjectExistenceStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ProjectHelper.ProjectExistenceStatus[] 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

ALREADY_EXISTS

public static final ProjectHelper.ProjectExistenceStatus ALREADY_EXISTS

CREATED

public static final ProjectHelper.ProjectExistenceStatus CREATED

CREATION_FAILED

public static final ProjectHelper.ProjectExistenceStatus CREATION_FAILED
Method Detail

values

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

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

valueOf

public static ProjectHelper.ProjectExistenceStatus 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

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.