org.kohsuke.jnt.ant
Class FileUploadTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.kohsuke.jnt.ant.AbstractJavaNetTask
              extended by org.kohsuke.jnt.ant.AbstractJavaNetTaskForProject
                  extended by org.kohsuke.jnt.ant.FileUploadTask
All Implemented Interfaces:
Cloneable

public class FileUploadTask
extends AbstractJavaNetTaskForProject

Uploads a file to a java.net file sharing section.

Author:
Kohsuke Kawaguchi (kk@kohsuke.org)

Constructor Summary
FileUploadTask()
           
 
Method Summary
 void run(JNProject cmd)
           
 void setFileDescription(String value)
           
 void setFileStatus(String value)
           
 void setFromFile(File value)
           
 void setOverwrite(boolean value)
           
 void setToFile(String value)
           
 
Methods inherited from class org.kohsuke.jnt.ant.AbstractJavaNetTaskForProject
setProjectName
 
Methods inherited from class org.kohsuke.jnt.ant.AbstractJavaNetTask
execute, setPassword, setRetry, setUserName
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUploadTask

public FileUploadTask()
Method Detail

setFromFile

public void setFromFile(File value)

setToFile

public void setToFile(String value)

setFileStatus

public void setFileStatus(String value)

setFileDescription

public void setFileDescription(String value)

setOverwrite

public void setOverwrite(boolean value)

run

public void run(JNProject cmd)
         throws org.apache.tools.ant.BuildException,
                ProcessingException
Throws:
org.apache.tools.ant.BuildException
ProcessingException


Copyright © 2003-2010 Kohsuke Kawaguchi. All Rights Reserved.