Top Description Fields Constructors Methods
com.google.inject

public final Enum Stage

extends Enum<Stage>
Class Inheritance

The stage we're running in.
Author
[email protected] (Bob Lee)

Field Summary

Modifier and TypeField and Description
public static final Stage
DEVELOPMENT

We want fast startup times at the expense of runtime performance and some up front error checking.

public static final Stage
PRODUCTION

We want to catch errors as early as possible and take performance hits up front.

public static final Stage
TOOL

We're running in a tool (an IDE plugin for example).

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Stage
public static Stage[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DEVELOPMENTback to summary
public static final Stage DEVELOPMENT

We want fast startup times at the expense of runtime performance and some up front error checking.

PRODUCTIONback to summary
public static final Stage PRODUCTION

We want to catch errors as early as possible and take performance hits up front.

TOOLback to summary
public static final Stage TOOL

We're running in a tool (an IDE plugin for example). We need binding meta data but not a functioning Injector. Do not inject members of instances. Do not load eager singletons. Do as little as possible so our tools run nice and snappy. Injectors created in this stage cannot be used to satisfy injections.

Constructor Detail

Stageback to summary
private Stage()

Method Detail

valueOfback to summary
public static Stage valueOf(String name)
valuesback to summary
public static Stage[] values()