Interface EphemeralAgentTemplate
- All Superinterfaces:
BambooIdProvider,BambooObject,ImmutableEphemeralAgentTemplate
- All Known Implementing Classes:
EphemeralAgentTemplateImpl
@PublicApi
public interface EphemeralAgentTemplate
extends ImmutableEphemeralAgentTemplate, BambooObject
Represents a template for ephemeral agents in Bamboo.
Template is a main ephemeral agent's dependent structure, it keeps its configuration and capabilities. It serves the same purpose as Elastic image.
- Since:
- 9.3
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetCapabilitySet(EphemeralAgentTemplateCapabilitySet capabilitySet) Sets Ephemeral template related capability set.voidsetConfigurationName(@NotNull String configurationName) Sets Ephemeral Configuration's name.voidsetEnabled(boolean enabled) Sets whether the Ephemeral template should be enabled.voidsetTemplate(@NotNull String template) Sets Ephemeral Configuration's template.Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.agent.ephemeral.ImmutableEphemeralAgentTemplate
getConfigurationName, getId, getTemplate, isEnabled
-
Method Details
-
setConfigurationName
Sets Ephemeral Configuration's name.- Parameters:
configurationName- Ephemeral Configuration's name
-
setTemplate
Sets Ephemeral Configuration's template.- Parameters:
template- Ephemeral Configuration's template
-
setEnabled
void setEnabled(boolean enabled) Sets whether the Ephemeral template should be enabled.- Parameters:
enabled- true if enabled, false otherwise
-
getCapabilitySet
EphemeralAgentTemplateCapabilitySet getCapabilitySet()- Returns:
- capabilities of template
-
setCapabilitySet
Sets Ephemeral template related capability set.- Parameters:
capabilitySet- Ephemeral template related capability set
-