hudson.plugins.blazemeter
Class GraphConfigurationDetail
java.lang.Object
hudson.plugins.blazemeter.GraphConfigurationDetail
- All Implemented Interfaces:
- hudson.model.ModelObject
public class GraphConfigurationDetail
- extends Object
- implements hudson.model.ModelObject
Configures the trend graph of this plug-in.
|
Constructor Summary |
GraphConfigurationDetail(hudson.model.AbstractProject<?,?> project,
String pluginName,
org.kohsuke.stapler.StaplerRequest request)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEPARATOR
public static final String SEPARATOR
- See Also:
- Constant Field Values
DEFAULT_COUNT
public static final int DEFAULT_COUNT
- See Also:
- Constant Field Values
DEFAULT_DATE
public static final String DEFAULT_DATE
- See Also:
- Constant Field Values
NONE_CONFIG
public static final String NONE_CONFIG
- See Also:
- Constant Field Values
BUILD_CONFIG
public static final String BUILD_CONFIG
- See Also:
- Constant Field Values
DATE_CONFIG
public static final String DATE_CONFIG
- See Also:
- Constant Field Values
GraphConfigurationDetail
public GraphConfigurationDetail(hudson.model.AbstractProject<?,?> project,
String pluginName,
org.kohsuke.stapler.StaplerRequest request)
doSave
public void doSave(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
- Saves the configured values. Subclasses need to implement the actual
persistence.
- Parameters:
request - Stapler requestresponse - Stapler response
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.ModelObject
persistValue
protected void persistValue(String value,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
serializeToString
protected String serializeToString(String configType,
int buildCount,
String firstDayCount,
String lastDayCount)
createDefaultsFile
protected static File createDefaultsFile(hudson.model.AbstractProject<?,?> project,
String pluginName)
- Creates a file with for the default values.
- Parameters:
project - the project used as directory for the filepluginName - the name of the plug-in
- Returns:
- the created file
getGregorianCalendarFromString
public static GregorianCalendar getGregorianCalendarFromString(String dateString)
throws ParseException
Get a gregorian calendar from a String of type : DD/MM/YYYY
- Parameters:
dateString -
- Returns:
- GregorianCalendar
- Throws:
ParseException
getBuildCount
public int getBuildCount()
setBuildCount
public void setBuildCount(int buildCount)
getFirstDayCount
public String getFirstDayCount()
setFirstDayCount
public void setFirstDayCount(String firstDayCount)
getLastDayCount
public String getLastDayCount()
setLastDayCount
public void setLastDayCount(String lastDayCount)
getConfigType
public String getConfigType()
setConfigType
public void setConfigType(String configType)
Copyright © July 2012-2013 BlazeMeterInc. All Rights Reserved.