org.jenkinsci.plugins.slave_setup
Class SetupConfig

java.lang.Object
  extended by hudson.model.Descriptor<jenkins.model.GlobalConfiguration>
      extended by jenkins.model.GlobalConfiguration
          extended by org.jenkinsci.plugins.slave_setup.SetupConfig
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<jenkins.model.GlobalConfiguration>, hudson.model.Saveable

@Extension
public class SetupConfig
extends jenkins.model.GlobalConfiguration

Keeps track of the configuration of slave_setup execution.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
SetupConfig()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
           
 hudson.util.FormValidation doCheckFilesDir(String value)
           
static SetupConfig get()
           
 String getCommandLine()
           
 boolean getDeployNow()
           
 File getFilesDir()
           
 void setCommandLine(String commandLine)
           
 void setDeployNow(boolean deployNow)
           
 void setFilesDir(File filesDir)
           
 
Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getDisplayName, getGlobalConfigPage
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, 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

SetupConfig

public SetupConfig()
Method Detail

getFilesDir

public File getFilesDir()

getCommandLine

public String getCommandLine()

getDeployNow

public boolean getDeployNow()

setFilesDir

public void setFilesDir(File filesDir)

setCommandLine

public void setCommandLine(String commandLine)

setDeployNow

public void setDeployNow(boolean deployNow)

configure

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

get

public static SetupConfig get()

doCheckFilesDir

public hudson.util.FormValidation doCheckFilesDir(@QueryParameter
                                                  String value)


Copyright © 2004-2012. All Rights Reserved.