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
Constructors Constructor Description BlazeMeterPerformanceBuilderDescriptor()
BlazeMeterPerformanceBuilderDescriptor(String blazeMeterURL)
BlazeMeterPerformanceBuilderDescriptor(String blazeMeterURL, boolean isUnstableIfHasFails)
-
Method Summary
-
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 Detail
-
BlazeMeterPerformanceBuilderDescriptor
public BlazeMeterPerformanceBuilderDescriptor()
-
BlazeMeterPerformanceBuilderDescriptor
public BlazeMeterPerformanceBuilderDescriptor(String blazeMeterURL)
-
BlazeMeterPerformanceBuilderDescriptor
public BlazeMeterPerformanceBuilderDescriptor(String blazeMeterURL, boolean isUnstableIfHasFails)
-
-
Method Detail
-
setDescriptor
public static void setDescriptor(BlazeMeterPerformanceBuilderDescriptor descriptor)
-
getDescriptor
public static BlazeMeterPerformanceBuilderDescriptor getDescriptor()
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Builder>
-
hasUpdates
public static boolean hasUpdates()
-
doCheckMainTestFile
public FormValidation doCheckMainTestFile(@QueryParameter String value)
-
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
public ListBoxModel doFillCredentialsIdItems(@QueryParameter("credentialsId") String credentialsId)
-
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
public static JenkinsBlazeMeterUtils getBzmUtils(String username, String password) throws Exception
- Throws:
Exception
-
getName
public String getName()
-
setName
public void setName(String name)
-
getBlazeMeterURL
public String getBlazeMeterURL()
-
setBlazeMeterURL
public void setBlazeMeterURL(String blazeMeterURL)
-
getIsUnstableIfHasFails
public boolean getIsUnstableIfHasFails()
-
setIsUnstableIfHasFails
public void setIsUnstableIfHasFails(boolean isUnstableIfHasFails)
-
-