TorqueBox 3.1.2

org.torquebox.core.runtime
Enum RubyRuntimeMetaData.Version

java.lang.Object
  extended by java.lang.Enum<RubyRuntimeMetaData.Version>
      extended by org.torquebox.core.runtime.RubyRuntimeMetaData.Version
All Implemented Interfaces:
Serializable, Comparable<RubyRuntimeMetaData.Version>
Enclosing class:
RubyRuntimeMetaData

public static enum RubyRuntimeMetaData.Version
extends Enum<RubyRuntimeMetaData.Version>


Enum Constant Summary
V1_8
           
V1_9
           
V2_0
           
 
Method Summary
static RubyRuntimeMetaData.Version valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RubyRuntimeMetaData.Version[] 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

V1_8

public static final RubyRuntimeMetaData.Version V1_8

V1_9

public static final RubyRuntimeMetaData.Version V1_9

V2_0

public static final RubyRuntimeMetaData.Version V2_0
Method Detail

values

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

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

valueOf

public static RubyRuntimeMetaData.Version 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

TorqueBox 3.1.2

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.