|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EnvironmentBuilder
This is used as part of the build process. This interface allows specialization of environments during the launch process.
| Method Summary | ||
|---|---|---|
Executor |
build()
|
|
EnvironmentBuilder |
withNewInstanceOf(Class<? extends Environment> clz)
Use this when chaining Launchables (calling one Launchable from another) where you want a new (non-specialized or uninitialized) instance of an Environment to be used in the execution. |
|
|
withSpecialization(Class<E> clz,
Specialization<E> specialization)
Allows for programmatic specialization (setting of properties) when launching. |
|
| Method Detail |
|---|
EnvironmentBuilder withNewInstanceOf(Class<? extends Environment> clz)
clz - Environment class
<E extends Environment> EnvironmentBuilder withSpecialization(Class<E> clz,
Specialization<E> specialization)
clz - specialization -
Executor build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||