EGF Engine
Release 0.1.0

org.eclipse.egf.common.misc
Enum PlatformLocationType

java.lang.Object
  extended by java.lang.Enum<PlatformLocationType>
      extended by org.eclipse.egf.common.misc.PlatformLocationType
All Implemented Interfaces:
Serializable, Comparable<PlatformLocationType>

public enum PlatformLocationType
extends Enum<PlatformLocationType>

This enumeration offers 4 types to identify platform locations.


Enum Constant Summary
TARGET_PLATFORM_ONLY
          Define the target platform.
TARGET_PLATFORM_THEN_WORKSPACE
          Define the target platform then the workspace.
WORKSPACE_ONLY
          Define the workspace.
WORKSPACE_THEN_TARGET_PLATFORM
          Define the workspace then the target platform.
 
Method Summary
static PlatformLocationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PlatformLocationType[] 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

TARGET_PLATFORM_ONLY

public static final PlatformLocationType TARGET_PLATFORM_ONLY
Define the target platform.
Process handlers that use this type, will only perform against the target platform.


WORKSPACE_ONLY

public static final PlatformLocationType WORKSPACE_ONLY
Define the workspace.
Process handlers that use this type, will only perform against the workspace.


TARGET_PLATFORM_THEN_WORKSPACE

public static final PlatformLocationType TARGET_PLATFORM_THEN_WORKSPACE
Define the target platform then the workspace.
Process handlers that use this type will only perform against the target platform then workspace.


WORKSPACE_THEN_TARGET_PLATFORM

public static final PlatformLocationType WORKSPACE_THEN_TARGET_PLATFORM
Define the workspace then the target platform.
Process handlers that use this type will only perform against the workspace then target platform.

Method Detail

values

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

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

valueOf

public static PlatformLocationType 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.