com.browserstack.automate.ci.jenkins
Class BrowserStackBuildWrapperDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapperDescriptor
          extended by com.browserstack.automate.ci.jenkins.BrowserStackBuildWrapperDescriptor
All Implemented Interfaces:
hudson.model.Saveable

@Extension
public final class BrowserStackBuildWrapperDescriptor
extends hudson.tasks.BuildWrapperDescriptor


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
BrowserStackBuildWrapperDescriptor()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doCheckLocalPath(hudson.model.AbstractProject project, String localPath)
           
 hudson.util.ListBoxModel doFillCredentialsIdItems(hudson.model.Item context)
           
 String getCredentialsId()
           
 String getDisplayName()
           
 boolean getEnableUsageStats()
           
 LocalConfig getLocalConfig()
           
 boolean isApplicable(hudson.model.AbstractProject<?,?> item)
           
 File resolvePath(hudson.model.AbstractProject project, String path)
           
 void setCredentialsId(String credentialsId)
           
 void setEnableUsageStats(boolean usageStatsEnabled)
           
 void setLocalConfig(LocalConfig localConfig)
           
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserStackBuildWrapperDescriptor

public BrowserStackBuildWrapperDescriptor()
Method Detail

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.BuildWrapper>

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject formData)
                  throws hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.BuildWrapper>
Throws:
hudson.model.Descriptor.FormException

isApplicable

public boolean isApplicable(hudson.model.AbstractProject<?,?> item)
Specified by:
isApplicable in class hudson.tasks.BuildWrapperDescriptor

doFillCredentialsIdItems

public hudson.util.ListBoxModel doFillCredentialsIdItems(@AncestorInPath
                                                         hudson.model.Item context)

doCheckLocalPath

public hudson.util.FormValidation doCheckLocalPath(@AncestorInPath
                                                   hudson.model.AbstractProject project,
                                                   @QueryParameter
                                                   String localPath)

getCredentialsId

public String getCredentialsId()

setCredentialsId

public void setCredentialsId(String credentialsId)

getLocalConfig

public LocalConfig getLocalConfig()

setLocalConfig

public void setLocalConfig(LocalConfig localConfig)

getEnableUsageStats

public boolean getEnableUsageStats()

setEnableUsageStats

public void setEnableUsageStats(boolean usageStatsEnabled)

resolvePath

public File resolvePath(hudson.model.AbstractProject project,
                        String path)
                 throws IOException,
                        InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2004-2016. All Rights Reserved.