hudson.plugins.locksandlatches
Class LockWrapper.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.tasks.BuildWrapper>
      extended by hudson.plugins.locksandlatches.LockWrapper.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
LockWrapper

public static final class LockWrapper.DescriptorImpl
extends hudson.model.Descriptor<hudson.tasks.BuildWrapper>


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Method Summary
 void addLock(LockWrapper.LockConfig hostConfig)
           
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 java.lang.String getDisplayName()
           
 LockWrapper.LockConfig getLock(java.lang.String name)
           
 java.lang.String[] getLockNames()
           
 java.util.List<LockWrapper.LockConfig> getLocks()
           
 hudson.tasks.BuildWrapper newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 void setLocks(java.util.List<LockWrapper.LockConfig> locks)
           
 
Methods inherited from class hudson.model.Descriptor
configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDisplayName

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

newInstance

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

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

getLocks

public java.util.List<LockWrapper.LockConfig> getLocks()

setLocks

public void setLocks(java.util.List<LockWrapper.LockConfig> locks)

getLock

public LockWrapper.LockConfig getLock(java.lang.String name)

getLockNames

public java.lang.String[] getLockNames()

addLock

public void addLock(LockWrapper.LockConfig hostConfig)


Copyright © 2009. All Rights Reserved.