@Entity public class RemoteAgentDefinitionImpl extends PipelineDefinitionImpl implements RemoteAgentDefinition
name
ORDERING
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() |
AgentType |
getType()
Gets type of the agent
|
UUID |
getUuid()
UUID identifying the network agent connects from.
|
String |
getUuidAsString() |
void |
setCapabilitySet(CapabilitySet capabilitySet) |
void |
setLastShutdownTime(Date lastShutdownTime) |
void |
setLastStartupTime(Date lastStartupTime) |
void |
setUuid(UUID uuid) |
void |
setUuidAsString(String uuidAsString) |
String |
toString() |
compareTo, equals, getDescription, getName, hashCode, isEnabled, setDescription, setEnabled, setName
getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
getCreationDate, getDescription, getLastModificationDate, getName, isEnabled, setCreationDate, setDescription, setEnabled, setLastModificationDate, setName
setId
getId
compareTo
public RemoteAgentDefinitionImpl()
public RemoteAgentDefinitionImpl(long id, String name)
public void accept(PipelineDefinitionVisitor visitor)
PipelineDefinition
accept
in interface PipelineDefinition
visitor
- Visitor objectpublic RemoteAgentDefinitionImpl clone() throws CloneNotSupportedException
clone
in class com.atlassian.core.bean.EntityObject
CloneNotSupportedException
public CapabilitySet getCapabilitySet()
getCapabilitySet
in interface CapabilityProperties
public void setCapabilitySet(CapabilitySet capabilitySet)
setCapabilitySet
in interface CapabilityProperties
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 UUID getUuid()
RemoteAgentDefinition
getUuid
in interface RemoteAgentDefinition
public void setUuid(UUID uuid)
setUuid
in interface RemoteAgentDefinition
public String getUuidAsString()
public void setUuidAsString(String uuidAsString)
@NotNull public AgentType getType()
PipelineDefinition
getType
in interface PipelineDefinition
getType
in class PipelineDefinitionImpl
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.