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
|
void |
setCapabilitySet(CapabilitySet capabilitySet) |
void |
setLastShutdownTime(Date lastShutdownTime) |
void |
setLastStartupTime(Date lastStartupTime) |
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
@NotNull public AgentType getType()
PipelineDefinition
getType
in interface PipelineDefinition
getType
in class PipelineDefinitionImpl
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.