public interface PipelineDefinition extends BambooObject, BambooIdProvider, CreationDateProvider, Comparable<PipelineDefinition>, Cloneable
ORDERING
Modifier and Type | Method and Description |
---|---|
void |
accept(PipelineDefinitionVisitor visitor)
Call back method to perform different actions depending on what type of agent it is
|
Date |
getCreationDate() |
@Nullable String |
getDescription() |
@Nullable ResultKey |
getEphemeralAgentDedication()
Key of the job this agent is dedicated to or null if not a dedicated ephemeral agent.
|
@Nullable String |
getEphemeralAgentDedicationUntyped()
For persistence only.
|
Date |
getLastModificationDate() |
String |
getName() |
@NotNull AgentType |
getType()
Gets type of the agent
|
boolean |
isDedicatedEphemeralAgent()
Is the agent dedicated to a specific job.
|
boolean |
isEnabled() |
void |
setCreationDate(Date date) |
void |
setDescription(@Nullable String description) |
void |
setEnabled(boolean enabled) |
void |
setEphemeralAgentDedication(@Nullable ResultKey key)
Mark this agent as dedicated to a specific job.
|
void |
setEphemeralAgentDedicationUntyped(@Nullable String key)
For persistence only.
|
void |
setLastModificationDate(Date date) |
void |
setName(String name) |
setId
getId
compareTo
String getName()
void setName(String name)
@Nullable @Nullable String getDescription()
Date getCreationDate()
getCreationDate
in interface CreationDateProvider
void setCreationDate(Date date)
Date getLastModificationDate()
void setLastModificationDate(Date date)
void accept(PipelineDefinitionVisitor visitor)
visitor
- Visitor objectvoid setDescription(@Nullable @Nullable String description)
boolean isEnabled()
void setEnabled(boolean enabled)
@NotNull @NotNull AgentType getType()
@Internal @Nullable @Nullable String getEphemeralAgentDedicationUntyped()
getEphemeralAgentDedication()
instead.@Internal void setEphemeralAgentDedicationUntyped(@Nullable @Nullable String key)
setEphemeralAgentDedication(ResultKey)
instead.@Nullable @Nullable ResultKey getEphemeralAgentDedication()
void setEphemeralAgentDedication(@Nullable @Nullable ResultKey key)
boolean isDedicatedEphemeralAgent()
Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.