public abstract class CascJmhBenchmarkState extends jenkins.benchmark.jmh.JmhBenchmarkState
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
CascJmhBenchmarkState() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Class<?> |
getEnclosingClass()
The class containing this benchmark state.
|
protected abstract String |
getResourcePath()
Location of the YAML file to be used for configuration-as-code
|
void |
setup()
Setups the Jenkins instance using configuration as code
available through the
getResourcePath(). |
getDisplayName, getIconFileName, getJenkins, getUrlName, setupJenkins, tearDown, terminateJenkins@Nonnull protected abstract String getResourcePath()
@Nonnull protected abstract Class<?> getEnclosingClass()
Class.getResource(String).public void setup()
throws Exception
getResourcePath().setup in class jenkins.benchmark.jmh.JmhBenchmarkStateio.jenkins.plugins.casc.ConfiguratorException - when unable to configureExceptionCopyright © 2016–2020. All rights reserved.