hudson.plugins.filesfoundtrigger
Class FilesFoundTriggerConfig

java.lang.Object
  extended by hudson.plugins.filesfoundtrigger.FilesFoundTriggerConfig
All Implemented Interfaces:
hudson.model.Describable<FilesFoundTriggerConfig>

public final class FilesFoundTriggerConfig
extends java.lang.Object
implements hudson.model.Describable<FilesFoundTriggerConfig>

Pattern of files to locate within a single directory.

Author:
Steven G. Brown

Nested Class Summary
static class FilesFoundTriggerConfig.ConverterImpl
          Converter implementation for XStream.
static class FilesFoundTriggerConfig.DescriptorImpl
          Descriptor for the FilesFoundTriggerConfig class.
 
Constructor Summary
FilesFoundTriggerConfig(java.lang.String directory, java.lang.String files, java.lang.String ignoredFiles)
          Create a new FilesFoundTriggerConfig.
 
Method Summary
static FilesFoundTriggerConfig.DescriptorImpl getClassDescriptor()
          Get the descriptor of this class.
 hudson.model.Descriptor<FilesFoundTriggerConfig> getDescriptor()
          
 java.lang.String getDirectory()
          Get the base directory to use when locating files.
 java.lang.String getFiles()
          Get the pattern of files to locate under the base directory.
 java.lang.String getIgnoredFiles()
          Get the pattern of files to ignore when searching under the base directory.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilesFoundTriggerConfig

@DataBoundConstructor
public FilesFoundTriggerConfig(java.lang.String directory,
                                                    java.lang.String files,
                                                    java.lang.String ignoredFiles)
Create a new FilesFoundTriggerConfig.

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
Method Detail

getClassDescriptor

public static FilesFoundTriggerConfig.DescriptorImpl getClassDescriptor()
Get the descriptor of this class.

Returns:
the FilesFoundTriggerConfig descriptor

getDescriptor

public hudson.model.Descriptor<FilesFoundTriggerConfig> getDescriptor()

Specified by:
getDescriptor in interface hudson.model.Describable<FilesFoundTriggerConfig>

getDirectory

public java.lang.String getDirectory()
Get the base directory to use when locating files.

Returns:
the base directory

getFiles

public java.lang.String getFiles()
Get the pattern of files to locate under the base directory.

Returns:
the files to find

getIgnoredFiles

public java.lang.String getIgnoredFiles()
Get the pattern of files to ignore when searching under the base directory.

Returns:
the files to ignore

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object


Copyright © 2004-2011. All Rights Reserved.