Class BuildGraphBean


  • public class BuildGraphBean
    extends Object
    Holds all info about particular graph including settings and data, accessed from JSP tag
    • Field Detail

      • PARAMETERS_TO_CLEAN_FROM_SESSION

        protected static final String[] PARAMETERS_TO_CLEAN_FROM_SESSION
    • Method Detail

      • getSessionPrefix

        public static String getSessionPrefix​(@NotNull
                                              String graphKey,
                                              @Nullable
                                              String buildTypeId,
                                              @Nullable
                                              String projectId)
      • getGuid

        public long getGuid()
        Getter for property 'guid'.
        Returns:
        Value for property 'guid'.
      • getUserTimeZone

        @NotNull
        public TimeZone getUserTimeZone()
        Returns current user time zone
      • getAttrs

        public Map<String,​String[]> getAttrs()
        Getter for property 'attrs'.
        Returns:
        Value for property 'attrs'.
      • getAttribute

        @Nullable
        public String getAttribute​(String key)
      • getHasData

        public boolean getHasData()
        Getter for property 'hasData'.
        Returns:
        Value for property 'hasData'.
      • getDataset

        public List<BuildValue> getDataset()
        Getter for property 'dataset'.
        Returns:
        Value for property 'dataset'.
      • getGraphDescriptor

        public GraphDescriptor getGraphDescriptor()
        Getter for property 'graphDescriptor'.
        Returns:
        Value for property 'graphDescriptor'.
      • getSettings

        public BuildChartSettings getSettings()
        Getter for property 'settings'.
        Returns:
        Value for property 'settings'.
      • getGraphKey

        public String getGraphKey()
        Getter for property 'graphKey'.
        Returns:
        Value for property 'graphKey'.
      • getValueType

        public ValueType getValueType()
        Getter for property 'valueType'.
        Returns:
        Value for property 'valueType'.
      • getTitle

        public String getTitle()
        Getter for property 'title'.
        Returns:
        Value for property 'title'.
      • doGenerateLinks

        public boolean doGenerateLinks()
      • getAvailable

        public boolean getAvailable()
        Getter for property 'available'.
        Returns:
        Value for property 'available'.
      • getAvailableAgents

        public NavigableMap<Long,​String> getAvailableAgents()
        Getter for property 'availableAgents'.
        Returns:
        Value for property 'availableAgents'.
      • setAvailableAgents

        public void setAvailableAgents​(NavigableMap<Long,​String> availableAgents)
        Setter for property 'availableAgents'.
        Parameters:
        availableAgents - Value to set for property 'availableAgents'.
      • getFlotStyles

        public String getFlotStyles​(String hints)
      • translateColors

        @NotNull
        public String translateColors​(@NotNull
                                      String s)
      • getColors

        public String getColors()
      • formatDate

        public static String formatDate​(long time)
      • getMarkers

        public List<org.jfree.chart.plot.CategoryMarker> getMarkers()
      • isResetToDefaultRequest

        public boolean isResetToDefaultRequest()
      • isHasNonDefaultFilters

        public boolean isHasNonDefaultFilters()
      • isHasNonDefaultYAxisConfig

        public boolean isHasNonDefaultYAxisConfig()