org.jruby.internal.runtime.methods
Enum CallConfiguration

java.lang.Object
  extended by java.lang.Enum<CallConfiguration>
      extended by org.jruby.internal.runtime.methods.CallConfiguration
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CallConfiguration>

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

Author:
headius

Enum Constant Summary
FrameBacktraceScopeDummy
           
FrameBacktraceScopeFull
           
FrameBacktraceScopeNone
           
FrameFullScopeDummy
           
FrameFullScopeFull
           
FrameFullScopeNone
           
FrameNoneScopeDummy
           
FrameNoneScopeFull
           
FrameNoneScopeNone
           
 
Field Summary
static CallConfiguration BACKTRACE_AND_SCOPE
          Deprecated. 
static CallConfiguration BACKTRACE_DUMMY_SCOPE
          Deprecated. 
static CallConfiguration BACKTRACE_ONLY
          Deprecated. 
static CallConfiguration FRAME_AND_DUMMY_SCOPE
          Deprecated. 
static CallConfiguration FRAME_AND_SCOPE
          Deprecated. 
static CallConfiguration FRAME_ONLY
          Deprecated. 
static CallConfiguration NO_FRAME_DUMMY_SCOPE
          Deprecated. 
static CallConfiguration NO_FRAME_NO_SCOPE
          Deprecated. 
static CallConfiguration SCOPE_ONLY
          Deprecated. 
 
Method Summary
 Framing framing()
           
static CallConfiguration getCallConfig(boolean frame, boolean scope, boolean backtrace)
           
static CallConfiguration getCallConfigByAnno(JRubyMethod anno)
           
 Scoping scoping()
           
static CallConfiguration valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CallConfiguration[] 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

FrameFullScopeFull

public static final CallConfiguration FrameFullScopeFull

FrameFullScopeDummy

public static final CallConfiguration FrameFullScopeDummy

FrameFullScopeNone

public static final CallConfiguration FrameFullScopeNone

FrameBacktraceScopeFull

public static final CallConfiguration FrameBacktraceScopeFull

FrameBacktraceScopeDummy

public static final CallConfiguration FrameBacktraceScopeDummy

FrameBacktraceScopeNone

public static final CallConfiguration FrameBacktraceScopeNone

FrameNoneScopeFull

public static final CallConfiguration FrameNoneScopeFull

FrameNoneScopeDummy

public static final CallConfiguration FrameNoneScopeDummy

FrameNoneScopeNone

public static final CallConfiguration FrameNoneScopeNone
Field Detail

FRAME_AND_SCOPE

@Deprecated
public static final CallConfiguration FRAME_AND_SCOPE
Deprecated. 

FRAME_AND_DUMMY_SCOPE

@Deprecated
public static final CallConfiguration FRAME_AND_DUMMY_SCOPE
Deprecated. 

FRAME_ONLY

@Deprecated
public static final CallConfiguration FRAME_ONLY
Deprecated. 

BACKTRACE_AND_SCOPE

@Deprecated
public static final CallConfiguration BACKTRACE_AND_SCOPE
Deprecated. 

BACKTRACE_DUMMY_SCOPE

@Deprecated
public static final CallConfiguration BACKTRACE_DUMMY_SCOPE
Deprecated. 

BACKTRACE_ONLY

@Deprecated
public static final CallConfiguration BACKTRACE_ONLY
Deprecated. 

SCOPE_ONLY

@Deprecated
public static final CallConfiguration SCOPE_ONLY
Deprecated. 

NO_FRAME_DUMMY_SCOPE

@Deprecated
public static final CallConfiguration NO_FRAME_DUMMY_SCOPE
Deprecated. 

NO_FRAME_NO_SCOPE

@Deprecated
public static final CallConfiguration NO_FRAME_NO_SCOPE
Deprecated. 
Method Detail

values

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

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

valueOf

public static CallConfiguration 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
java.lang.NullPointerException - if the argument is null

getCallConfigByAnno

public static CallConfiguration getCallConfigByAnno(JRubyMethod anno)

getCallConfig

public static CallConfiguration getCallConfig(boolean frame,
                                              boolean scope,
                                              boolean backtrace)

framing

public final Framing framing()

scoping

public final Scoping scoping()


Copyright © 2002-2009 JRuby Team. All Rights Reserved.