com.atlassian.bamboo.v2.build.agent
Class RemoteAgentDefinitionImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.v2.build.agent.PipelineDefinitionImpl
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.bamboo.buildqueue.PipelineDefinition
PipelineDefinition.TYPE
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.v2.build.agent.PipelineDefinitionImpl
name
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
RemoteAgentDefinitionImpl()
           
RemoteAgentDefinitionImpl(long id, java.lang.String name)
           
 
Method Summary
 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()
           
 java.util.Date getLastShutdownTime()
           
 java.util.Date getLastStartupTime()
           
 void setCapabilitySet(CapabilitySet capabilitySet)
           
 void setLastShutdownTime(java.util.Date lastShutdownTime)
           
 void setLastStartupTime(java.util.Date lastStartupTime)
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.bamboo.v2.build.agent.PipelineDefinitionImpl
compareTo, equals, getDescription, getName, getType, hashCode, isEnabled, setDescription, setEnabled, setName
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
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 com.atlassian.bamboo.core.BambooObject
getId, setId
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

RemoteAgentDefinitionImpl

public RemoteAgentDefinitionImpl()

RemoteAgentDefinitionImpl

public RemoteAgentDefinitionImpl(long id,
                                 java.lang.String name)
Method Detail

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 © 2009 Atlassian Pty Ltd. All Rights Reserved.