public class JPutContext
| Modifier and Type | Class and Description |
|---|---|
static class |
JPutContext.Companion |
| Modifier and Type | Field and Description |
|---|---|
static JPutContext.Companion |
Companion |
static java.lang.String |
PROP_ELASTIC_ENABLED |
static java.lang.String |
PROP_ELASTIC_ENV_IDENTIFIERS |
static java.lang.String |
PROP_ELASTIC_HOST |
static java.lang.String |
PROP_ELASTIC_INDEX |
static java.lang.String |
PROP_ELASTIC_PORT |
static java.lang.String |
PROP_ELASTIC_SCHEME |
static java.lang.String |
PROP_ENABLED |
static java.lang.String |
PROP_ENV_PARAMS |
static java.lang.String |
PROP_PATH_TO_STORAGE_FILE |
static java.lang.String |
PROP_REPORTER_CLASS |
static java.lang.String |
PROP_STORAGE_FILE_ENABLED |
Junit4TestExecutor |
junit4TestExecutor |
TrendAnalyzer |
trendAnalyzer |
UnitPerformanceAnalyzer |
unitPerformanceAnalyzer |
| Constructor and Description |
|---|
JPutContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertySource(PropertySource source) |
void |
destroy() |
java.util.Map<java.lang.String,java.lang.String> |
getCustomTestIds()
customTestId -> defaultTestId
|
java.lang.String |
getExecutionId()
Unique ID of current tests execution
|
Junit4TestExecutor |
getJunit4TestExecutor() |
java.util.List<cz.encircled.jput.context.PropertySource> |
getPropertySources() |
java.util.List<cz.encircled.jput.recorder.ResultRecorder> |
getResultRecorders()
Test results recorders
|
JPutReporter |
getResultReporter() |
java.util.Map<java.lang.String,cz.encircled.jput.model.PerfTestExecution> |
getTestExecutions() |
TrendAnalyzer |
getTrendAnalyzer() |
UnitPerformanceAnalyzer |
getUnitPerformanceAnalyzer() |
void |
init() |
boolean |
isPerformanceTestEnabled()
Global enabled/disabled switch
|
void |
setJunit4TestExecutor(Junit4TestExecutor p) |
void |
setPerformanceTestEnabled(boolean p)
Global enabled/disabled switch
|
void |
setPropertySources(java.util.List<cz.encircled.jput.context.PropertySource> p) |
void |
setResultReporter(JPutReporter p) |
void |
setTrendAnalyzer(TrendAnalyzer p) |
void |
setUnitPerformanceAnalyzer(UnitPerformanceAnalyzer p) |
public UnitPerformanceAnalyzer unitPerformanceAnalyzer
public TrendAnalyzer trendAnalyzer
public Junit4TestExecutor junit4TestExecutor
public static java.lang.String PROP_ENABLED
public static java.lang.String PROP_REPORTER_CLASS
public static java.lang.String PROP_ELASTIC_ENABLED
public static java.lang.String PROP_ELASTIC_HOST
public static java.lang.String PROP_ELASTIC_PORT
public static java.lang.String PROP_ELASTIC_SCHEME
public static java.lang.String PROP_ELASTIC_INDEX
public static java.lang.String PROP_ELASTIC_ENV_IDENTIFIERS
public static java.lang.String PROP_STORAGE_FILE_ENABLED
public static java.lang.String PROP_PATH_TO_STORAGE_FILE
public static java.lang.String PROP_ENV_PARAMS
public static JPutContext.Companion Companion
public java.lang.String getExecutionId()
Unique ID of current tests execution
public boolean isPerformanceTestEnabled()
Global enabled/disabled switch
public void setPerformanceTestEnabled(boolean p)
Global enabled/disabled switch
public java.util.List<cz.encircled.jput.context.PropertySource> getPropertySources()
public void setPropertySources(java.util.List<cz.encircled.jput.context.PropertySource> p)
public java.util.List<cz.encircled.jput.recorder.ResultRecorder> getResultRecorders()
Test results recorders
public java.util.Map<java.lang.String,java.lang.String> getCustomTestIds()
customTestId -> defaultTestId
public java.util.Map<java.lang.String,cz.encircled.jput.model.PerfTestExecution> getTestExecutions()
public UnitPerformanceAnalyzer getUnitPerformanceAnalyzer()
public void setUnitPerformanceAnalyzer(UnitPerformanceAnalyzer p)
public TrendAnalyzer getTrendAnalyzer()
public void setTrendAnalyzer(TrendAnalyzer p)
public Junit4TestExecutor getJunit4TestExecutor()
public void setJunit4TestExecutor(Junit4TestExecutor p)
public JPutReporter getResultReporter()
public void setResultReporter(JPutReporter p)
public void init()
public void destroy()
public void addPropertySource(PropertySource source)