Class EphemeralAgentTemplateImpl
java.lang.Object
com.atlassian.bamboo.agent.ephemeral.EphemeralAgentTemplateImpl
- All Implemented Interfaces:
EphemeralAgentTemplate,ImmutableEphemeralAgentTemplate,BambooIdProvider,BambooObject
-
Constructor Summary
ConstructorsConstructorDescriptionEphemeralAgentTemplateImpl(@NotNull String configurationName, @NotNull String template, boolean enabled) -
Method Summary
Modifier and TypeMethodDescriptionstatic EphemeralAgentTemplatecopy(EphemeralAgentTemplate ephemeralAgentTemplate) boolean@NotNull StringGet Ephemeral Configuration's name.longgetId()Gets the Ephemeral Configuration ID.@NotNull StringGet Ephemeral Configuration's template.inthashCode()booleanvoidsetCapabilitySet(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.voidsetId(long id) voidsetTemplate(@NotNull String template) Sets Ephemeral Configuration's template.
-
Constructor Details
-
EphemeralAgentTemplateImpl
public EphemeralAgentTemplateImpl() -
EphemeralAgentTemplateImpl
-
-
Method Details
-
getId
public long getId()Description copied from interface:ImmutableEphemeralAgentTemplateGets the Ephemeral Configuration ID.- Specified by:
getIdin interfaceBambooIdProvider- Specified by:
getIdin interfaceImmutableEphemeralAgentTemplate- Returns:
- Ephemeral Configuration ID
-
setId
public void setId(long id) - Specified by:
setIdin interfaceBambooObject
-
getConfigurationName
Description copied from interface:ImmutableEphemeralAgentTemplateGet Ephemeral Configuration's name.- Specified by:
getConfigurationNamein interfaceImmutableEphemeralAgentTemplate- Returns:
- Ephemeral Configuration's name
-
setConfigurationName
Description copied from interface:EphemeralAgentTemplateSets Ephemeral Configuration's name.- Specified by:
setConfigurationNamein interfaceEphemeralAgentTemplate- Parameters:
configurationName- Ephemeral Configuration's name
-
getTemplate
Description copied from interface:ImmutableEphemeralAgentTemplateGet Ephemeral Configuration's template.- Specified by:
getTemplatein interfaceImmutableEphemeralAgentTemplate- Returns:
- Ephemeral Configuration's template
-
setTemplate
Description copied from interface:EphemeralAgentTemplateSets Ephemeral Configuration's template.- Specified by:
setTemplatein interfaceEphemeralAgentTemplate- Parameters:
template- Ephemeral Configuration's template
-
getCapabilitySet
- Specified by:
getCapabilitySetin interfaceEphemeralAgentTemplate- Returns:
- capabilities of template
-
setCapabilitySet
Description copied from interface:EphemeralAgentTemplateSets Ephemeral template related capability set.- Specified by:
setCapabilitySetin interfaceEphemeralAgentTemplate- Parameters:
capabilitySet- Ephemeral template related capability set
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceImmutableEphemeralAgentTemplate- Returns:
- true if Ephemeral Configuration is enabled
-
setEnabled
public void setEnabled(boolean enabled) Description copied from interface:EphemeralAgentTemplateSets whether the Ephemeral template should be enabled.- Specified by:
setEnabledin interfaceEphemeralAgentTemplate- Parameters:
enabled- true if enabled, false otherwise
-
equals
-
hashCode
public int hashCode() -
copy
-