jetbrains.buildServer
Class BuildInstanceData

java.lang.Object
  extended by jetbrains.buildServer.BuildInstanceData

public class BuildInstanceData
extends java.lang.Object


Constructor Summary
BuildInstanceData(java.util.Date startDate, java.util.Date finishDate, java.lang.String agentName, long buildId, long estimationForTimeLeft, long buildDuration, StatusDescriptor statusDescriptor, boolean personal, java.lang.String buildNumber, BuildTypeData buildType, CanceledInfo canceledInfo)
           
 
Method Summary
static java.util.List<BuildInstanceData> convertBuildsToDatas(java.util.List<? extends Build> builds, DataFactory factory, User user)
           
static BuildInstanceData createOn(Build buildInstance, BuildTypeData buildType)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getAgentName()
           
 long getBuildId()
           
 java.lang.String getBuildNumber()
           
 BuildTypeData getBuildType()
           
 java.lang.String getBuildTypeId()
           
 CanceledInfo getCanceledInfo()
           
 long getDuration()
           
 long getEstimationForTimeLeft()
           
 java.util.Date getFinishDate()
           
 java.util.Date getStartDate()
           
 StatusDescriptor getStatusDescriptor()
           
 int hashCode()
           
 boolean isPersonal()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildInstanceData

public BuildInstanceData(java.util.Date startDate,
                         java.util.Date finishDate,
                         java.lang.String agentName,
                         long buildId,
                         long estimationForTimeLeft,
                         long buildDuration,
                         StatusDescriptor statusDescriptor,
                         boolean personal,
                         java.lang.String buildNumber,
                         @NotNull
                         BuildTypeData buildType,
                         CanceledInfo canceledInfo)
Method Detail

getStartDate

public java.util.Date getStartDate()

getFinishDate

public java.util.Date getFinishDate()

getAgentName

public java.lang.String getAgentName()

getBuildId

public long getBuildId()

getEstimationForTimeLeft

public long getEstimationForTimeLeft()

getStatusDescriptor

public StatusDescriptor getStatusDescriptor()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

isPersonal

public boolean isPersonal()

getBuildTypeId

public java.lang.String getBuildTypeId()

createOn

public static BuildInstanceData createOn(Build buildInstance,
                                         BuildTypeData buildType)

convertBuildsToDatas

public static java.util.List<BuildInstanceData> convertBuildsToDatas(java.util.List<? extends Build> builds,
                                                                     DataFactory factory,
                                                                     @Nullable
                                                                     User user)

getBuildNumber

public java.lang.String getBuildNumber()

getBuildType

@NotNull
public BuildTypeData getBuildType()

getCanceledInfo

public CanceledInfo getCanceledInfo()

getDuration

public long getDuration()