com.slide.hudson.plugins
Class Entry

java.lang.Object
  extended by com.slide.hudson.plugins.Entry

public final class Entry
extends java.lang.Object

This class implements the data object for the CIFS plugin. The fields can be configured in the job configuration page in hudson.

Author:
Alex Earl, Christian Knuechel

Constructor Summary
Entry()
           
Entry(java.lang.String filePath, java.lang.String sourceFile, java.lang.Boolean flatten, java.lang.Boolean purge)
           
 
Method Summary
 java.lang.String getFilePath()
          Destination folder for the copy.
 boolean getFlatten()
          True if files should be flattened into a single directory, false if directory structure should be maintained in the target share path.
 boolean getPurge()
          True if files should be purged from the target directory, false if existing files should be left along.
 java.lang.String getSourceFile()
          File name relative to the workspace root to upload.
 void setFilePath(java.lang.String filePath)
          Destination folder for the copy.
 void setFlatten(java.lang.Boolean flatten)
          True if files should be flattened into a single directory, false if directory structure should be maintained in the target share path.
 void setPurge(java.lang.Boolean purge)
          True if files should be purged from the target directory.
 void setSourceFile(java.lang.String sourceFile)
          File name relative to the workspace root to upload.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Entry

public Entry()

Entry

@DataBoundConstructor
public Entry(java.lang.String filePath,
                                  java.lang.String sourceFile,
                                  java.lang.Boolean flatten,
                                  java.lang.Boolean purge)
Method Detail

getFilePath

public java.lang.String getFilePath()
Destination folder for the copy. May contain macros.

Returns:
the filePath

setFilePath

public void setFilePath(java.lang.String filePath)
Destination folder for the copy. May contain macros.

Parameters:
filePath - the filePath to set

getSourceFile

public java.lang.String getSourceFile()
File name relative to the workspace root to upload. If the sourceFile is directory then all files in that directory will be copied to remote filePath directory recursively

May contain macro, wildcard.

Returns:
the sourceFile

setSourceFile

public void setSourceFile(java.lang.String sourceFile)
File name relative to the workspace root to upload. If the sourceFile is directory then all files in that directory will be copied to remote filePath directory recursively

May contain macro, wildcard.

Parameters:
sourceFile - the sourceFile to set

getFlatten

public boolean getFlatten()
True if files should be flattened into a single directory, false if directory structure should be maintained in the target share path.

Returns:
the flatten

setFlatten

public void setFlatten(java.lang.Boolean flatten)
True if files should be flattened into a single directory, false if directory structure should be maintained in the target share path.

Parameters:
flatten - the flatten to set

getPurge

public boolean getPurge()
True if files should be purged from the target directory, false if existing files should be left along.

Returns:
the purge

setPurge

public void setPurge(java.lang.Boolean purge)
True if files should be purged from the target directory.

Parameters:
purge - the purge to set


Copyright © 2011. All Rights Reserved.