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 CommonContextGets 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:EphemeralAgentLaunchRequestGets the list of matching templates for the passed build context.- Specified by:
getEphemeralAgentTemplatesin interfaceEphemeralAgentLaunchRequest- Returns:
- a list of
ImmutableEphemeralAgentTemplate
-
getContext
Description copied from interface:EphemeralAgentLaunchRequestGets the build context the ephemeral agent launch was requested for.- Specified by:
getContextin interfaceEphemeralAgentLaunchRequest- Returns:
- a
CommonContextrepresenting the build context
-
toString
-