@Entity public class ElasticAgentDefinitionImpl extends PipelineDefinitionImpl implements ElasticAgentDefinition
name
ORDERING
Constructor and Description |
---|
ElasticAgentDefinitionImpl() |
ElasticAgentDefinitionImpl(long id,
String name) |
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
|
long |
getAgentUpTime() |
ElasticImageConfiguration |
getElasticImageConfiguration() |
long |
getElasticImageConfigurationId() |
String |
getElasticImageId()
Utility method for accessing AmiId of image
|
String |
getElasticInstanceId() |
String |
getImageFilesVersion() |
Date |
getLastShutdownTime() |
Date |
getLastStartupTime() |
AgentType |
getType()
Gets type of the agent
|
void |
setElasticImageConfiguration(ElasticImageConfiguration elasticImageConfiguration) |
void |
setElasticImageConfigurationId(long elasticImageConfigurationId) |
void |
setElasticInstanceId(String elasticInstanceId) |
void |
setImageFilesVersion(String imageFilesVersion) |
void |
setLastShutdownTime(Date lastShutdownTime) |
void |
setLastStartupTime(Date lastStartupTime) |
compareTo, equals, getDescription, getName, hashCode, isEnabled, setDescription, setEnabled, setName
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCreationDate, getDescription, getLastModificationDate, getName, isEnabled, setCreationDate, setDescription, setEnabled, setLastModificationDate, setName
setId
getId
compareTo
public ElasticAgentDefinitionImpl()
public ElasticAgentDefinitionImpl(long id, String name)
public Date getLastShutdownTime()
getLastShutdownTime
in interface DistributedProperties
public Date getLastStartupTime()
getLastStartupTime
in interface DistributedProperties
public void setLastShutdownTime(@Nullable Date lastShutdownTime)
setLastShutdownTime
in interface DistributedProperties
public void setLastStartupTime(@Nullable Date lastStartupTime)
setLastStartupTime
in interface DistributedProperties
public long getAgentUpTime()
getAgentUpTime
in interface DistributedProperties
public String getElasticImageId()
getElasticImageId
in interface ElasticAgentDefinition
public long getElasticImageConfigurationId()
getElasticImageConfigurationId
in interface ElasticAgentDefinition
public void setElasticImageConfigurationId(long elasticImageConfigurationId)
public ElasticImageConfiguration getElasticImageConfiguration()
getElasticImageConfiguration
in interface ElasticAgentDefinition
public void setElasticImageConfiguration(@NotNull ElasticImageConfiguration elasticImageConfiguration)
setElasticImageConfiguration
in interface ElasticAgentDefinition
public void accept(PipelineDefinitionVisitor visitor)
PipelineDefinition
accept
in interface PipelineDefinition
visitor
- Visitor objectpublic String getElasticInstanceId()
getElasticInstanceId
in interface ElasticAgentDefinition
public void setElasticInstanceId(String elasticInstanceId)
setElasticInstanceId
in interface ElasticAgentDefinition
public String getImageFilesVersion()
getImageFilesVersion
in interface ElasticAgentDefinition
public void setImageFilesVersion(String imageFilesVersion)
setImageFilesVersion
in interface ElasticAgentDefinition
@NotNull public AgentType getType()
PipelineDefinition
getType
in interface PipelineDefinition
getType
in class PipelineDefinitionImpl
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.