public class CustomGraphConsumer extends AbstractOverTimeGraphConsumer implements SampleConsumer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REPORT_GENERATOR_PROPERTIES |
static java.lang.String |
RESULT_CONTENT_MESSAGE |
static java.lang.String |
RESULT_SAMPLE_VARIABLE_NAME |
static java.lang.String |
RESULT_X_AXIS |
static java.lang.String |
RESULT_Y_AXIS |
RESULT_CTX_GRANULARITY
DEFAULT_AGGREGATED_KEYS_SERIES_FORMAT, DEFAULT_GROUP, DEFAULT_OVERALL_SERIES_FORMAT, RESULT_MAX_X, RESULT_MAX_Y, RESULT_MIN_X, RESULT_MIN_Y, RESULT_SERIES, RESULT_SERIES_DATA, RESULT_SERIES_IS_CONTROLLER, RESULT_SERIES_IS_OVERALL, RESULT_SERIES_NAME, RESULT_SUPPORTS_CONTROLLERS_DISCRIMINATION, RESULT_TITLE
Constructor and Description |
---|
CustomGraphConsumer() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,GroupInfo> |
createGroupInfos() |
protected TimeStampKeysSelector |
createTimeStampKeysSelector()
Creates the time stamp keys selector.
|
java.lang.String |
getContentMessage()
Gets the content message.
|
boolean |
getIsNativeSampleVariableName()
Only used for junit tests.
|
java.lang.String |
getSampleVariableName()
Gets the sampleVariableName.
|
java.lang.String |
getXAxis()
Gets the X Axis.
|
java.lang.String |
getYAxis()
Gets the Y Axis.
|
protected void |
initializeExtraResults(MapResultData parentResult)
Inherited classes can add properties to the result
|
void |
setContentMessage(java.lang.String message)
Sets the contentMessage.
|
void |
setSampleVariableName(java.lang.String sampleVarName)
Sets the sampleVariableName.
|
void |
setXAxis(java.lang.String axis)
Sets the xAxis.
|
void |
setYAxis(java.lang.String axis)
Sets the yAxis.
|
createKeysSelector, getGranularity, initialize, setGranularity
consume, createSerieResult, getAggregatedKeysSeriesFormat, getGroupInfos, getInvertsKeysAndValues, getKeysSelector, getOverallSeriesFormat, getTitle, rendersPercentiles, setAggregatedKeysSeriesFormat, setOverallSeriesFormat, setRenderPercentiles, setRevertKeysAndValues, setTitle, startConsuming, stopConsuming
addSampleConsumer, getConsumedChannelCount, getConsumedMetadata, getConsumer, getDataFromContext, getName, getWorkingDirectory, produce, removeSampleConsumer, setChannelAttribute, setConsumedMetadata, setDataToContext, setName, setProducedMetadata, setSampleConsumer, setSampleConsumers, setSampleContext, startProducing, stopProducing
getChannelAttribute, getSampleContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
consume, setConsumedMetadata, startConsuming, stopConsuming
getChannelAttribute, getSampleContext, setChannelAttribute, setSampleContext
public static final java.lang.String RESULT_Y_AXIS
public static final java.lang.String RESULT_X_AXIS
public static final java.lang.String RESULT_SAMPLE_VARIABLE_NAME
public static final java.lang.String RESULT_CONTENT_MESSAGE
public static final java.lang.String REPORT_GENERATOR_PROPERTIES
public boolean getIsNativeSampleVariableName()
public java.lang.String getYAxis()
public java.lang.String getXAxis()
public void setYAxis(java.lang.String axis)
axis
- the yAxis to setpublic void setXAxis(java.lang.String axis)
axis
- the xAxis to setpublic void setContentMessage(java.lang.String message)
message
- the message to setpublic java.lang.String getContentMessage()
public java.lang.String getSampleVariableName()
public void setSampleVariableName(java.lang.String sampleVarName)
sampleVarName
- the sampleVariableName to setprotected void initializeExtraResults(MapResultData parentResult)
AbstractGraphConsumer
initializeExtraResults
in class AbstractOverTimeGraphConsumer
parentResult
- the parent resultprotected TimeStampKeysSelector createTimeStampKeysSelector()
AbstractOverTimeGraphConsumer
createTimeStampKeysSelector
in class AbstractOverTimeGraphConsumer
protected java.util.Map<java.lang.String,GroupInfo> createGroupInfos()
createGroupInfos
in class AbstractOverTimeGraphConsumer
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.