com.intel.gpe.gridbeans
Enum GridBeanParameterType

java.lang.Object
  extended by java.lang.Enum<GridBeanParameterType>
      extended by com.intel.gpe.gridbeans.GridBeanParameterType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GridBeanParameterType>

public enum GridBeanParameterType
extends java.lang.Enum<GridBeanParameterType>

There are 4 types of GPE variables, or GridBean parameters. These are a GPEFile, a FileSet, an URL and an arbitrary XML structure. The first 3 ones are used to represent remote files and the latter is used to represent a value of any type produced by an arbitrary service invocation.

Version:
$Id: GridBeanParameterType.java,v 1.7 2006/09/25 08:00:15 vashorin Exp $
Author:
Alexander Lukichev

Enum Constant Summary
FILE_SET
           
GPE_FILE
           
URL
           
XML
           
 
Method Summary
static GridBeanParameterType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GridBeanParameterType[] 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

XML

public static final GridBeanParameterType XML

FILE_SET

public static final GridBeanParameterType FILE_SET

URL

public static final GridBeanParameterType URL

GPE_FILE

public static final GridBeanParameterType GPE_FILE
Method Detail

values

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

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

valueOf

public static GridBeanParameterType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2008. All Rights Reserved.