Package hudson.plugins.blazemeter
Class BlazeMeterPerformanceBuilderDescriptor
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Builder>
hudson.plugins.blazemeter.BlazeMeterPerformanceBuilderDescriptor
- Direct Known Subclasses:
PerformanceBuilder.DescriptorImpl
@Symbol("blazeMeterTest")
@Extension
public class BlazeMeterPerformanceBuilderDescriptor
extends BuildStepDescriptor<Builder>
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
ConstructorsConstructorDescriptionBlazeMeterPerformanceBuilderDescriptor
(String blazeMeterURL) BlazeMeterPerformanceBuilderDescriptor
(String blazeMeterURL, boolean isUnstableIfHasFails) -
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) doCheckMainTestFile
(String value) doFillCredentialsIdItems
(String credentialsId) doFillTestIdItems
(String credentialsId, String workspaceId, String testId) doFillWorkspaceIdItems
(String credentialsId, String workspaceId) findCredentials
(List<BlazemeterCredentialsBAImpl> credentials, String credentialsId) static JenkinsBlazeMeterUtils
getBzmUtils
(String username, String password) boolean
getName()
static boolean
boolean
isApplicable
(Class<? extends AbstractProject> jobType) void
setBlazeMeterURL
(String blazeMeterURL) static void
setDescriptor
(BlazeMeterPerformanceBuilderDescriptor descriptor) void
setIsUnstableIfHasFails
(boolean isUnstableIfHasFails) void
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
BlazeMeterPerformanceBuilderDescriptor
public BlazeMeterPerformanceBuilderDescriptor() -
BlazeMeterPerformanceBuilderDescriptor
-
BlazeMeterPerformanceBuilderDescriptor
-
-
Method Details
-
setDescriptor
-
getDescriptor
-
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<Builder>
-
hasUpdates
public static boolean hasUpdates() -
doCheckMainTestFile
-
doFillTestIdItems
public ListBoxModel doFillTestIdItems(@QueryParameter("credentialsId") String credentialsId, @QueryParameter("workspaceId") String workspaceId, @QueryParameter("testId") String testId) throws FormValidation - Throws:
FormValidation
-
doFillWorkspaceIdItems
public ListBoxModel doFillWorkspaceIdItems(@QueryParameter("credentialsId") String credentialsId, @QueryParameter("workspaceId") String workspaceId) throws FormValidation - Throws:
FormValidation
-
doFillCredentialsIdItems
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configure
in classDescriptor<Builder>
- Throws:
Descriptor.FormException
-
findCredentials
public BlazemeterCredentialsBAImpl findCredentials(List<BlazemeterCredentialsBAImpl> credentials, String credentialsId) -
getBzmUtils
- Throws:
Exception
-
getName
-
setName
-
getBlazeMeterURL
-
setBlazeMeterURL
-
getIsUnstableIfHasFails
public boolean getIsUnstableIfHasFails() -
setIsUnstableIfHasFails
public void setIsUnstableIfHasFails(boolean isUnstableIfHasFails)
-