jetbrains.buildServer.serverSide.statistics.build
Class BuildChartSettings

java.lang.Object
  extended by jetbrains.buildServer.serverSide.statistics.ChartSettings
      extended by jetbrains.buildServer.serverSide.statistics.build.BuildChartSettings

@NonNls
public class BuildChartSettings
extends ChartSettings

Defines settings specific to build chart


Field Summary
static java.lang.String AXIS_Y_MAX
           
static java.lang.String AXIS_Y_MIN
           
static java.lang.String BUILD_TYPE_ID
           
static java.lang.String DEF_AUTOSCALE
           
static java.lang.String DEF_AVERAGED
           
static java.lang.String DEF_LOG_Y_AXIS
           
static java.lang.String DEF_SHOW_FAILED
           
static java.lang.String DEFAULT
           
static java.lang.String FILTER_AVERAGE
           
static java.lang.String FILTER_PAS
           
static java.lang.String FILTER_RANGE
           
static java.lang.String FILTER_S
           
static java.lang.String FILTER_STATUS
           
static java.lang.String FORCE_ZERO
           
static java.lang.String GRAPH_KEY
           
static java.lang.String HIDE
           
static java.lang.String HINTS
           
static java.lang.String PROJECT_ID
           
static java.lang.String Y_AXIS_TYPE
           
 
Fields inherited from class jetbrains.buildServer.serverSide.statistics.ChartSettings
myParams
 
Constructor Summary
BuildChartSettings(java.util.Map<java.lang.String,java.lang.String[]> params)
           
 
Method Summary
 java.lang.String getBuildTypeId()
           
 java.util.Map<java.lang.String,java.lang.Object> getDeselectedSeries()
           
 java.lang.String[] getFilterPas()
           
 java.lang.String[] getFilterS()
           
 java.lang.String getFirst(java.lang.String key)
           
 java.lang.String getProjectId()
           
 int getRange()
           
 java.lang.String getRangeText()
           
 boolean getRemoveUnselectedSeries()
           
 int getStatus()
           
 java.lang.String getStatusText()
           
 boolean isAverage()
           
 boolean isSet(java.lang.String key)
           
 boolean isSet(java.lang.String base, java.lang.String key)
           
 boolean isUpdateRequest()
           
 void setAverage(boolean average)
           
 void setBuildTypeId(java.lang.String externalBuildTypeId)
          Sets external build type id
 void setDeselectedSeries(java.util.Set<java.lang.String> selectedAgents)
           
 void setRange(int range)
           
 void setRemoveUnselectedSeries(boolean removeUnselectedSeries)
           
 void setStatus(int status)
           
 
Methods inherited from class jetbrains.buildServer.serverSide.statistics.ChartSettings
equals, getParams, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GRAPH_KEY

public static final java.lang.String GRAPH_KEY
See Also:
Constant Field Values

BUILD_TYPE_ID

public static final java.lang.String BUILD_TYPE_ID
See Also:
Constant Field Values

PROJECT_ID

public static final java.lang.String PROJECT_ID
See Also:
Constant Field Values

DEFAULT

public static final java.lang.String DEFAULT
See Also:
Constant Field Values

FILTER_RANGE

public static final java.lang.String FILTER_RANGE
See Also:
Constant Field Values

FILTER_STATUS

public static final java.lang.String FILTER_STATUS
See Also:
Constant Field Values

FILTER_AVERAGE

public static final java.lang.String FILTER_AVERAGE
See Also:
Constant Field Values

FILTER_S

public static final java.lang.String FILTER_S
See Also:
Constant Field Values

FILTER_PAS

public static final java.lang.String FILTER_PAS
See Also:
Constant Field Values

AXIS_Y_MIN

public static final java.lang.String AXIS_Y_MIN
See Also:
Constant Field Values

AXIS_Y_MAX

public static final java.lang.String AXIS_Y_MAX
See Also:
Constant Field Values

Y_AXIS_TYPE

public static final java.lang.String Y_AXIS_TYPE
See Also:
Constant Field Values

FORCE_ZERO

public static final java.lang.String FORCE_ZERO
See Also:
Constant Field Values

HIDE

public static final java.lang.String HIDE
See Also:
Constant Field Values

DEF_SHOW_FAILED

public static final java.lang.String DEF_SHOW_FAILED
See Also:
Constant Field Values

DEF_AVERAGED

public static final java.lang.String DEF_AVERAGED
See Also:
Constant Field Values

DEF_LOG_Y_AXIS

public static final java.lang.String DEF_LOG_Y_AXIS
See Also:
Constant Field Values

DEF_AUTOSCALE

public static final java.lang.String DEF_AUTOSCALE
See Also:
Constant Field Values

HINTS

public static final java.lang.String HINTS
See Also:
Constant Field Values
Constructor Detail

BuildChartSettings

public BuildChartSettings(java.util.Map<java.lang.String,java.lang.String[]> params)
Method Detail

isUpdateRequest

public boolean isUpdateRequest()

isSet

public boolean isSet(java.lang.String base,
                     java.lang.String key)

isSet

public boolean isSet(java.lang.String key)

getFirst

public java.lang.String getFirst(java.lang.String key)

getBuildTypeId

public java.lang.String getBuildTypeId()
Returns:
External build type id

getProjectId

public java.lang.String getProjectId()
Returns:
project external id

setBuildTypeId

public void setBuildTypeId(java.lang.String externalBuildTypeId)
Sets external build type id

Parameters:
externalBuildTypeId -

getDeselectedSeries

@NotNull
public java.util.Map<java.lang.String,java.lang.Object> getDeselectedSeries()

setDeselectedSeries

public void setDeselectedSeries(@NotNull
                                java.util.Set<java.lang.String> selectedAgents)

getRange

public int getRange()

getRangeText

public java.lang.String getRangeText()

getStatusText

public java.lang.String getStatusText()

setRange

public void setRange(int range)

getStatus

public int getStatus()

setStatus

public void setStatus(int status)

setAverage

public void setAverage(boolean average)

isAverage

public boolean isAverage()

getRemoveUnselectedSeries

public boolean getRemoveUnselectedSeries()

setRemoveUnselectedSeries

public void setRemoveUnselectedSeries(boolean removeUnselectedSeries)

getFilterS

public java.lang.String[] getFilterS()

getFilterPas

public java.lang.String[] getFilterPas()