Class PerformanceTestActivityReporter
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- io.jenkins.plugins.devopsportal.reporters.AbstractActivityReporter<PerformanceTestActivity>
-
- io.jenkins.plugins.devopsportal.reporters.PerformanceTestActivityReporter
-
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep,GenericActivityHandler<PerformanceTestActivity>,SimpleBuildStep
public class PerformanceTestActivityReporter extends AbstractActivityReporter<PerformanceTestActivity>
Build step of a project used to record a PERFORMANCE_TEST activity.- Author:
- Rémi BELLO <remi@evolya.fr>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPerformanceTestActivityReporter.DescriptorImpl-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description PerformanceTestActivityReporter(String applicationName, String applicationVersion, String applicationComponent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityCategorygetActivityCategory()longgetErrorCount()longgetSampleCount()longgetTestCount()static ResulthandleActivityResult(PerformanceTestActivity activity)voidsetErrorCount(long errorCount)voidsetSampleCount(long sampleCount)voidsetTestCount(long testCount)ResultupdateActivity(ApplicationBuildStatus status, PerformanceTestActivity activity, TaskListener listener, EnvVars env, FilePath workspace)-
Methods inherited from class io.jenkins.plugins.devopsportal.reporters.AbstractActivityReporter
getApplicationComponent, getApplicationName, getApplicationVersion, getBuildStatusDescriptor, perform, setApplicationComponent, setApplicationName, setApplicationVersion
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Method Detail
-
getTestCount
public long getTestCount()
-
setTestCount
@DataBoundSetter public void setTestCount(long testCount)
-
getSampleCount
public long getSampleCount()
-
setSampleCount
@DataBoundSetter public void setSampleCount(long sampleCount)
-
getErrorCount
public long getErrorCount()
-
setErrorCount
@DataBoundSetter public void setErrorCount(long errorCount)
-
updateActivity
public Result updateActivity(@NonNull ApplicationBuildStatus status, @NonNull PerformanceTestActivity activity, @NonNull TaskListener listener, @NonNull EnvVars env, @NonNull FilePath workspace)
-
handleActivityResult
public static Result handleActivityResult(@NonNull PerformanceTestActivity activity)
-
getActivityCategory
public ActivityCategory getActivityCategory()
- Specified by:
getActivityCategoryin classAbstractActivityReporter<PerformanceTestActivity>
-
-