Package hudson.plugins.sauce_ondemand
Class PluginImpl
- java.lang.Object
-
- hudson.Plugin
-
- hudson.plugins.sauce_ondemand.PluginImpl
-
- All Implemented Interfaces:
Describable<PluginImpl>
,Saveable
,org.kohsuke.stapler.StaplerProxy
@Extension public class PluginImpl extends Plugin implements Describable<PluginImpl>
Persists the access credentials and common options for the Sauce plugin.- Author:
- Kohsuke Kawaguchi, Ross Rowe
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PluginImpl.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.Plugin
Plugin.DummyImpl
-
-
Field Summary
-
Fields inherited from class hudson.Plugin
SKIP_PERMISSION_CHECK
-
-
Constructor Summary
Constructors Constructor Description PluginImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
static PluginImpl
get()
Secret
getApiKey()
Deprecated.PluginImpl.DescriptorImpl
getDescriptor()
String
getEnvironmentVariablePrefix()
String
getRestEndpoint()
Deprecated.String
getSauceConnectDirectory()
String
getSauceConnectMaxRetries()
String
getSauceConnectOptions()
String
getSauceConnectRetryWaitTime()
String
getUsername()
Deprecated.boolean
isDisableUsageStats()
protected Object
readResolve()
void
setDisableUsageStats(boolean disableUsageStats)
void
setEnvironmentVariablePrefix(String environmentVariablePrefix)
void
setSauceConnectDirectory(String sauceConnectDirectory)
void
setSauceConnectMaxRetries(String sauceConnectMaxRetries)
void
setSauceConnectOptions(String sauceConnectOptions)
void
setSauceConnectRetryWaitTime(String sauceConnectRetryWaitTime)
void
start()
-
Methods inherited from class hudson.Plugin
configure, doDynamic, getConfigXml, getTarget, getWrapper, load, postInitialize, save, setServletContext, stop
-
-
-
-
Method Detail
-
get
public static PluginImpl get()
-
readResolve
protected Object readResolve()
-
configure
public void configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws IOException, javax.servlet.ServletException, Descriptor.FormException
- Overrides:
configure
in classPlugin
- Throws:
IOException
javax.servlet.ServletException
Descriptor.FormException
-
getDescriptor
public PluginImpl.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<PluginImpl>
-
getSauceConnectDirectory
public String getSauceConnectDirectory()
-
setSauceConnectDirectory
public void setSauceConnectDirectory(String sauceConnectDirectory)
-
getEnvironmentVariablePrefix
public String getEnvironmentVariablePrefix()
-
setEnvironmentVariablePrefix
public void setEnvironmentVariablePrefix(String environmentVariablePrefix)
-
getSauceConnectMaxRetries
public String getSauceConnectMaxRetries()
-
setSauceConnectMaxRetries
public void setSauceConnectMaxRetries(String sauceConnectMaxRetries)
-
getSauceConnectRetryWaitTime
public String getSauceConnectRetryWaitTime()
-
setSauceConnectRetryWaitTime
public void setSauceConnectRetryWaitTime(String sauceConnectRetryWaitTime)
-
getUsername
@Deprecated public String getUsername()
Deprecated.
-
getApiKey
@Deprecated public Secret getApiKey()
Deprecated.
-
getRestEndpoint
@Deprecated public String getRestEndpoint()
Deprecated.
-
getSauceConnectOptions
public String getSauceConnectOptions()
-
setSauceConnectOptions
public void setSauceConnectOptions(String sauceConnectOptions)
-
setDisableUsageStats
public void setDisableUsageStats(boolean disableUsageStats)
-
isDisableUsageStats
public boolean isDisableUsageStats()
-
-