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 TypeMethodDescriptionvoid
setCapabilitySet
(EphemeralAgentTemplateCapabilitySet capabilitySet) Sets Ephemeral template related capability set.void
setConfigurationName
(@NotNull String configurationName) Sets Ephemeral Configuration's name.void
setEnabled
(boolean enabled) Sets whether the Ephemeral template should be enabled.void
setTemplate
(@NotNull String template) Sets Ephemeral Configuration's template.Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
Methods 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
-