Class EphemeralAgentLaunchRequestImpl
java.lang.Object
com.atlassian.bamboo.event.ephemeral.EphemeralAgentLaunchRequestImpl
- All Implemented Interfaces:
EphemeralAgentLaunchRequest
@AsynchronousPreferred
public class EphemeralAgentLaunchRequestImpl
extends Object
implements EphemeralAgentLaunchRequest
-
Constructor Summary
ConstructorsConstructorDescriptionEphemeralAgentLaunchRequestImpl
(List<ImmutableEphemeralAgentTemplate> ephemeralAgentTemplates, CommonContext context) -
Method Summary
Modifier and TypeMethodDescription@NotNull CommonContext
Gets the build context the ephemeral agent launch was requested for.@NotNull List<ImmutableEphemeralAgentTemplate>
Gets the list of matching templates for the passed build context.toString()
-
Constructor Details
-
EphemeralAgentLaunchRequestImpl
public EphemeralAgentLaunchRequestImpl(List<ImmutableEphemeralAgentTemplate> ephemeralAgentTemplates, CommonContext context)
-
-
Method Details
-
getEphemeralAgentTemplates
Description copied from interface:EphemeralAgentLaunchRequest
Gets the list of matching templates for the passed build context.- Specified by:
getEphemeralAgentTemplates
in interfaceEphemeralAgentLaunchRequest
- Returns:
- a list of
ImmutableEphemeralAgentTemplate
-
getContext
Description copied from interface:EphemeralAgentLaunchRequest
Gets the build context the ephemeral agent launch was requested for.- Specified by:
getContext
in interfaceEphemeralAgentLaunchRequest
- Returns:
- a
CommonContext
representing the build context
-
toString
-