hudson.scm
Class IntegrityItemAction.IntegrityItemDescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by hudson.scm.IntegrityItemAction.IntegrityItemDescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
IntegrityItemAction

public static class IntegrityItemAction.IntegrityItemDescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

The relationship of Descriptor and IntegrityItemAction (the describable) is akin to class and object. This means the descriptor is used to create instances of the describable. Usually the Descriptor is an internal class in the IntegrityItemAction class named DescriptorImpl.


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
 
Constructor Summary
IntegrityItemAction.IntegrityItemDescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 String getDefaultHostName()
          By default, return the IntegrtySCM host name for the Integrity Server
 String getDefaultPassword()
          By default, return the IntegritySCM user's password connecting to the Integrity Server
 int getDefaultPort()
          By default, return the IntegritySCM port for the Integrity Server
 String getDefaultQueryDefinition()
          Returns the default query definition that will be used to find the 'build' item
 boolean getDefaultSecure()
          By default, return the IntegritySCM secure setting for the Integrity Server
 String getDefaultUserName()
          By default, return the IntegritySCM for the User connecting to the Integrity Server
 String getDisplayName()
           
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
           
 hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrityItemAction.IntegrityItemDescriptorImpl

public IntegrityItemAction.IntegrityItemDescriptorImpl()
Method Detail

newInstance

public hudson.tasks.Publisher 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.Publisher>
Throws:
hudson.model.Descriptor.FormException

getDisplayName

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

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

isApplicable

public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

getDefaultHostName

public String getDefaultHostName()
By default, return the IntegrtySCM host name for the Integrity Server

Returns:
defaultHostName

getDefaultPort

public int getDefaultPort()
By default, return the IntegritySCM port for the Integrity Server

Returns:
defaultPort

getDefaultSecure

public boolean getDefaultSecure()
By default, return the IntegritySCM secure setting for the Integrity Server

Returns:
defaultSecure

getDefaultUserName

public String getDefaultUserName()
By default, return the IntegritySCM for the User connecting to the Integrity Server

Returns:
defaultUserName

getDefaultPassword

public String getDefaultPassword()
By default, return the IntegritySCM user's password connecting to the Integrity Server

Returns:
defaultPassword

getDefaultQueryDefinition

public String getDefaultQueryDefinition()
Returns the default query definition that will be used to find the 'build' item

Returns:
defaultQueryDefinition


Copyright © 2004-2012 Hudson. All Rights Reserved.