Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.project
Enum ProjectType

java.lang.Object
  extended by java.lang.Enum<ProjectType>
      extended by org.eclipse.mtj.core.project.ProjectType
All Implemented Interfaces:
Serializable, Comparable<ProjectType>

public enum ProjectType
extends Enum<ProjectType>

*

EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.

Since:
1.0
Restriction:
This class is not intended to be subclassed by clients.
Restriction:
This class is not intended to be instantiated by clients.

Enum Constant Summary
MIDLET_SUITE
          Represents a MIDlet suite project
UNKNOWN
          Represents an unknown type of project
 
Method Summary
static ProjectType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ProjectType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MIDLET_SUITE

public static final ProjectType MIDLET_SUITE
Represents a MIDlet suite project


UNKNOWN

public static final ProjectType UNKNOWN
Represents an unknown type of project

Method Detail

values

public static final ProjectType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ProjectType c : ProjectType.values())
        System.out.println(c);

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

valueOf

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

Mobile Tools for Java
Release 1.0