au.com.rayh
Class GlobalConfigurationImpl

java.lang.Object
  extended by hudson.model.Descriptor<jenkins.model.GlobalConfiguration>
      extended by jenkins.model.GlobalConfiguration
          extended by au.com.rayh.GlobalConfigurationImpl
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<jenkins.model.GlobalConfiguration>, hudson.model.Saveable

@Extension
public final class GlobalConfigurationImpl
extends jenkins.model.GlobalConfiguration

Stores global configuration for XCode.

Since:
1.4

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
GlobalConfigurationImpl()
           
GlobalConfigurationImpl(String xcodebuildPath, String xcrunPath, String agvtoolPath, String defaultKeychain, ArrayList<Keychain> keychains)
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.model.AutoCompletionCandidates doAutoCompleteDefaultKeychain(String value)
           
 hudson.util.FormValidation doCheckAgvtoolPath(String value)
           
 hudson.util.FormValidation doCheckDefaultKeychain(String value)
           
 hudson.util.FormValidation doCheckXcodebuildPath(String value)
           
 hudson.util.FormValidation doCheckXcrunPath(String value)
           
 String getAgvtoolPath()
           
 String getDefaultKeychain()
           
 String getDisplayName()
           
 ArrayList<Keychain> getKeychains()
           
 String getXcodebuildPath()
           
 String getXcrunPath()
           
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
           
 void setAgvtoolPath(String agvtoolPath)
           
 void setDefaultKeychain(String defaultKeychain)
           
 void setKeychains(ArrayList<Keychain> keychains)
           
 void setXcodebuildPath(String xcodebuildPath)
           
 void setXcrunPath(String xcrunPath)
           
 
Methods inherited from class jenkins.model.GlobalConfiguration
all, getCategory, getDescriptor, getGlobalConfigPage
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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

GlobalConfigurationImpl

public GlobalConfigurationImpl()

GlobalConfigurationImpl

@DataBoundConstructor
public GlobalConfigurationImpl(String xcodebuildPath,
                                                    String xcrunPath,
                                                    String agvtoolPath,
                                                    String defaultKeychain,
                                                    ArrayList<Keychain> keychains)
Method Detail

doCheckXcodebuildPath

public hudson.util.FormValidation doCheckXcodebuildPath(@QueryParameter
                                                        String value)
                                                 throws IOException,
                                                        javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doCheckAgvtoolPath

public hudson.util.FormValidation doCheckAgvtoolPath(@QueryParameter
                                                     String value)
                                              throws IOException,
                                                     javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doCheckXcrunPath

public hudson.util.FormValidation doCheckXcrunPath(@QueryParameter
                                                   String value)
                                            throws IOException,
                                                   javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doCheckDefaultKeychain

public hudson.util.FormValidation doCheckDefaultKeychain(@QueryParameter
                                                         String value)
                                                  throws IOException,
                                                         javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doAutoCompleteDefaultKeychain

public hudson.model.AutoCompletionCandidates doAutoCompleteDefaultKeychain(@QueryParameter
                                                                           String value)

isApplicable

public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)

getDisplayName

public String getDisplayName()
Overrides:
getDisplayName in class jenkins.model.GlobalConfiguration

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<jenkins.model.GlobalConfiguration>
Throws:
hudson.model.Descriptor.FormException

getXcodebuildPath

public String getXcodebuildPath()

setXcodebuildPath

public void setXcodebuildPath(String xcodebuildPath)

getXcrunPath

public String getXcrunPath()

setXcrunPath

public void setXcrunPath(String xcrunPath)

getAgvtoolPath

public String getAgvtoolPath()

setAgvtoolPath

public void setAgvtoolPath(String agvtoolPath)

getKeychains

public ArrayList<Keychain> getKeychains()

setKeychains

public void setKeychains(ArrayList<Keychain> keychains)

getDefaultKeychain

public String getDefaultKeychain()

setDefaultKeychain

public void setDefaultKeychain(String defaultKeychain)


Copyright © 2004-2015. All Rights Reserved.