com.atlassian.bamboo.v2.build.agent
Class RemoteAgentDefinitionImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.v2.build.agent.PipelineDefinitionImpl
com.atlassian.bamboo.v2.build.agent.RemoteAgentDefinitionImpl
- All Implemented Interfaces:
- PipelineDefinition, CapabilityProperties, DistributedProperties, RemoteAgentDefinition, BambooObject, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
public class RemoteAgentDefinitionImpl
- extends PipelineDefinitionImpl
- implements RemoteAgentDefinition
- See Also:
- Serialized Form
Methods inherited from class com.atlassian.core.bean.EntityObject |
getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.buildqueue.PipelineDefinition |
getCreationDate, getDescription, getLastModificationDate, getName, getType, isEnabled, setCreationDate, setDescription, setEnabled, setLastModificationDate, setName |
Methods inherited from interface java.lang.Comparable |
compareTo |
RemoteAgentDefinitionImpl
public RemoteAgentDefinitionImpl()
RemoteAgentDefinitionImpl
public RemoteAgentDefinitionImpl(long id,
java.lang.String name)
accept
public void accept(PipelineDefinitionVisitor visitor)
- Description copied from interface:
PipelineDefinition
- Call back method to perform different actions depending on what type of agent it is
- Specified by:
accept
in interface PipelineDefinition
- Parameters:
visitor
- Visitor object
clone
public RemoteAgentDefinitionImpl clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class com.atlassian.core.bean.EntityObject
- Throws:
java.lang.CloneNotSupportedException
getCapabilitySet
public CapabilitySet getCapabilitySet()
- Specified by:
getCapabilitySet
in interface CapabilityProperties
setCapabilitySet
public void setCapabilitySet(CapabilitySet capabilitySet)
- Specified by:
setCapabilitySet
in interface CapabilityProperties
getLastShutdownTime
public java.util.Date getLastShutdownTime()
- Specified by:
getLastShutdownTime
in interface DistributedProperties
getLastStartupTime
public java.util.Date getLastStartupTime()
- Specified by:
getLastStartupTime
in interface DistributedProperties
setLastShutdownTime
public void setLastShutdownTime(@Nullable
java.util.Date lastShutdownTime)
- Specified by:
setLastShutdownTime
in interface DistributedProperties
setLastStartupTime
public void setLastStartupTime(@Nullable
java.util.Date lastStartupTime)
- Specified by:
setLastStartupTime
in interface DistributedProperties
getAgentUpTime
public long getAgentUpTime()
- Specified by:
getAgentUpTime
in interface DistributedProperties
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010 Atlassian. All Rights Reserved.