@Entity public class RemoteAgentDefinitionImpl extends PipelineDefinitionImpl implements RemoteAgentDefinition
nameORDERING| Constructor and Description |
|---|
RemoteAgentDefinitionImpl() |
RemoteAgentDefinitionImpl(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
|
RemoteAgentDefinitionImpl |
clone() |
long |
getAgentUpTime() |
CapabilitySet |
getCapabilitySet() |
Date |
getLastShutdownTime() |
Date |
getLastStartupTime() |
@NotNull AgentType |
getType()
Gets type of the agent
|
UUID |
getUuid()
UUID identifying the network agent connects from.
|
String |
getUuidAsString() |
void |
setCapabilitySet(CapabilitySet capabilitySet) |
void |
setLastShutdownTime(@Nullable Date lastShutdownTime) |
void |
setLastStartupTime(@Nullable Date lastStartupTime) |
void |
setUuid(UUID uuid) |
void |
setUuidAsString(String uuidAsString) |
String |
toString() |
compareTo, equals, getDescription, getName, hashCode, isEnabled, setDescription, setEnabled, setNamegetCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDatefinalize, getClass, notify, notifyAll, wait, wait, waitgetCreationDate, getDescription, getLastModificationDate, getName, isEnabled, setCreationDate, setDescription, setEnabled, setLastModificationDate, setNamesetIdgetIdcompareTopublic RemoteAgentDefinitionImpl()
public RemoteAgentDefinitionImpl(long id,
String name)
public void accept(PipelineDefinitionVisitor visitor)
PipelineDefinitionaccept in interface PipelineDefinitionvisitor - Visitor objectpublic RemoteAgentDefinitionImpl clone() throws CloneNotSupportedException
clone in class com.atlassian.core.bean.EntityObjectCloneNotSupportedExceptionpublic CapabilitySet getCapabilitySet()
getCapabilitySet in interface CapabilityPropertiespublic void setCapabilitySet(CapabilitySet capabilitySet)
setCapabilitySet in interface CapabilityPropertiespublic Date getLastShutdownTime()
getLastShutdownTime in interface DistributedPropertiespublic Date getLastStartupTime()
getLastStartupTime in interface DistributedPropertiespublic void setLastShutdownTime(@Nullable
@Nullable Date lastShutdownTime)
setLastShutdownTime in interface DistributedPropertiespublic void setLastStartupTime(@Nullable
@Nullable Date lastStartupTime)
setLastStartupTime in interface DistributedPropertiespublic long getAgentUpTime()
getAgentUpTime in interface DistributedPropertiespublic UUID getUuid()
RemoteAgentDefinitiongetUuid in interface RemoteAgentDefinitionpublic void setUuid(UUID uuid)
setUuid in interface RemoteAgentDefinitionpublic String getUuidAsString()
public void setUuidAsString(String uuidAsString)
@NotNull public @NotNull AgentType getType()
PipelineDefinitiongetType in interface PipelineDefinitiongetType in class PipelineDefinitionImplCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.