@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() |
AgentType |
getType()
Gets type of the agent
|
void |
setCapabilitySet(CapabilitySet capabilitySet) |
void |
setLastShutdownTime(Date lastShutdownTime) |
void |
setLastStartupTime(Date lastStartupTime) |
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
Date lastShutdownTime)
setLastShutdownTime in interface DistributedPropertiespublic void setLastStartupTime(@Nullable
Date lastStartupTime)
setLastStartupTime in interface DistributedPropertiespublic long getAgentUpTime()
getAgentUpTime in interface DistributedProperties@NotNull public AgentType getType()
PipelineDefinitiongetType in interface PipelineDefinitiongetType in class PipelineDefinitionImplCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.