hudson.plugins.gerrit
Class GerritNotifier.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by hudson.plugins.gerrit.GerritNotifier.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
GerritNotifier

@Extension
public static final class GerritNotifier.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

Descriptor for GerritNotifier. Used as a singleton. The class is marked as public so that it can be accessed from views.

See views/hudson/plugins/hello_world/GerritNotifier/*.jelly for the actual HTML fragment for the configuration screen.


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
GerritNotifier.DescriptorImpl()
           
 
Method Summary
 hudson.util.FormValidation doCheckGerrit_host(java.lang.String value)
           
 hudson.util.FormValidation doCheckGerrit_username(java.lang.String value)
           
 hudson.util.FormValidation doCheckPassPhrase(java.lang.String value)
           
 hudson.util.FormValidation doCheckPrivate_key_file_path(java.lang.String value)
           
 java.lang.String getDisplayName()
          This human readable name is used in the configuration screen.
 java.lang.String guessSSHKeyFile()
           
 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> aClass)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, 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

GerritNotifier.DescriptorImpl

public GerritNotifier.DescriptorImpl()
Method Detail

doCheckGerrit_username

public hudson.util.FormValidation doCheckGerrit_username(@QueryParameter
                                                         java.lang.String value)

doCheckGerrit_host

public hudson.util.FormValidation doCheckGerrit_host(@QueryParameter
                                                     java.lang.String value)

doCheckPrivate_key_file_path

public hudson.util.FormValidation doCheckPrivate_key_file_path(@QueryParameter
                                                               java.lang.String value)

doCheckPassPhrase

public hudson.util.FormValidation doCheckPassPhrase(@QueryParameter
                                                    java.lang.String value)

isApplicable

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

getDisplayName

public java.lang.String getDisplayName()
This human readable name is used in the configuration screen.

Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>

guessSSHKeyFile

public java.lang.String guessSSHKeyFile()


Copyright © 2010. All Rights Reserved.