hudson.plugins.filesfoundtrigger
Class FilesFoundTrigger.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.triggers.Trigger<?>>
      extended by hudson.triggers.TriggerDescriptor
          extended by hudson.plugins.filesfoundtrigger.FilesFoundTrigger.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
FilesFoundTrigger

@Extension
public static class FilesFoundTrigger.DescriptorImpl
extends hudson.triggers.TriggerDescriptor

Registers FilesFoundTrigger as a Trigger extension.


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
FilesFoundTrigger.DescriptorImpl()
           
 
Method Summary
 hudson.util.FormValidation doTestConfiguration(java.lang.String directory, java.lang.String files, java.lang.String ignoredFiles)
          Test the entered trigger configuration.
 java.lang.String getDisplayName()
          
 boolean isApplicable(hudson.model.Item item)
          
 
Methods inherited from class hudson.model.Descriptor
configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, 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

FilesFoundTrigger.DescriptorImpl

public FilesFoundTrigger.DescriptorImpl()
Method Detail

isApplicable

public boolean isApplicable(hudson.model.Item item)

Specified by:
isApplicable in class hudson.triggers.TriggerDescriptor

getDisplayName

public java.lang.String getDisplayName()

Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.triggers.Trigger<?>>

doTestConfiguration

public hudson.util.FormValidation doTestConfiguration(@QueryParameter(value="directory")
                                                      java.lang.String directory,
                                                      @QueryParameter(value="files")
                                                      java.lang.String files,
                                                      @QueryParameter(value="ignoredFiles")
                                                      java.lang.String ignoredFiles)
Test the entered trigger configuration.

Parameters:
directory - the base directory to use when locating files
files - the pattern of files to locate under the base directory
ignoredFiles - the pattern of files to ignore when searching under the base directory
Returns:
the result


Copyright © 2010. All Rights Reserved.