Class StatisticProjectRow<T extends StatisticResult,Z extends BuildTypeRow<T>,P extends StatisticProjectRow<T,Z,P>>
- java.lang.Object
-
- jetbrains.buildServer.serverSide.statistics.StatisticProjectRow<T,Z,P>
-
- All Implemented Interfaces:
ProjectAware
,ProjectRow
,StatisticRow<T>
- Direct Known Subclasses:
BuildTimeProjectRow
,DiskUsageProjectRow
public abstract class StatisticProjectRow<T extends StatisticResult,Z extends BuildTypeRow<T>,P extends StatisticProjectRow<T,Z,P>> extends Object implements ProjectRow, StatisticRow<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected T
myStatisticResult
-
Constructor Summary
Constructors Constructor Description StatisticProjectRow(SProject project, List<Z> rows, T total)
StatisticProjectRow(SProject project, List<Z> rows, T total, boolean computeTotalFromRows)
StatisticProjectRow(StatisticProjectRow<T,Z,P> other, T total)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBuildType(Z row)
void
addSubProject(P row)
void
addSubProject(P row, boolean computeTotalFromRows)
void
aggregate(StatisticProjectRow<T,Z,P> parent)
boolean
equals(Object o)
StatisticProjectRow<T,Z,P>
getParent()
SProject
getProject()
List<Z>
getRows()
Map<SBuildType,StatisticRow<T>>
getRowsMap()
List<P>
getSubProjects()
int
hashCode()
boolean
isEmpty()
void
setParent(StatisticProjectRow row)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.statistics.ProjectRow
getStatisticResult
-
Methods inherited from interface jetbrains.buildServer.serverSide.statistics.StatisticRow
getStatisticResult, isCalculated
-
-
-
-
Field Detail
-
myStatisticResult
@NotNull protected final T extends StatisticResult myStatisticResult
-
-
Constructor Detail
-
StatisticProjectRow
public StatisticProjectRow(@NotNull SProject project, @NotNull List<Z> rows, @NotNull T total)
-
StatisticProjectRow
public StatisticProjectRow(@NotNull SProject project, @NotNull List<Z> rows, @NotNull T total, boolean computeTotalFromRows)
-
StatisticProjectRow
public StatisticProjectRow(@NotNull StatisticProjectRow<T,Z,P> other, @NotNull T total)
-
-
Method Detail
-
addBuildType
public void addBuildType(@NotNull Z row)
-
addSubProject
public void addSubProject(@NotNull P row)
-
addSubProject
public void addSubProject(@NotNull P row, boolean computeTotalFromRows)
-
aggregate
public void aggregate(@Nullable StatisticProjectRow<T,Z,P> parent)
-
getParent
@Nullable public StatisticProjectRow<T,Z,P> getParent()
- Specified by:
getParent
in interfaceStatisticRow<T extends StatisticResult>
-
setParent
public void setParent(@Nullable StatisticProjectRow row)
- Specified by:
setParent
in interfaceStatisticRow<T extends StatisticResult>
-
getSubProjects
@NotNull public List<P> getSubProjects()
- Specified by:
getSubProjects
in interfaceProjectRow<T extends StatisticResult>
-
isEmpty
public boolean isEmpty()
-
getProject
@NotNull public SProject getProject()
- Specified by:
getProject
in interfaceProjectAware
-
getRowsMap
@NotNull public Map<SBuildType,StatisticRow<T>> getRowsMap()
-
-