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.

HeadURL: $HeadURL$
Date: $Date$
Revision: $Revision$

Author:
$Author$

Constructor Summary
Entry()
           
Entry(java.lang.String filePath, java.lang.String sourceFile, java.lang.Boolean flatten)
           
 
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.
 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 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)
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


Copyright © 2011. All Rights Reserved.