org.neovera.jdiablo
Interface TargetBuilder

All Known Implementing Classes:
BuilderImpl

public interface TargetBuilder

Interface to create a builder with.


Method Summary
<L extends Launchable>
EnvironmentBuilder
withTarget(Class<L> launchableClass)
          Tell the builder to build a launchable of a particular derived type.
<L extends Launchable>
EnvironmentBuilder
withTarget(Class<L> launchableClass, Specialization<L> specialization)
          Tell the builder to build a launchable of a particular type with given specialization.
 

Method Detail

withTarget

<L extends Launchable> EnvironmentBuilder withTarget(Class<L> launchableClass)
Tell the builder to build a launchable of a particular derived type.

Type Parameters:
L - Launchable type
Parameters:
launchableClass - Launchable class
Returns:
Environment builder to customize environments for this launchable type.

withTarget

<L extends Launchable> EnvironmentBuilder withTarget(Class<L> launchableClass,
                                                     Specialization<L> specialization)
Tell the builder to build a launchable of a particular type with given specialization.

Type Parameters:
L - Launchable type
Parameters:
launchableClass - Launchable class
specialization - The specialization to apply to the launchable type.
Returns:
Environment builder to customize environments for this launchable type.


Copyright © 2014 Neovera Inc.. All rights reserved.