it.haefelinger.flaka
Class HttpUploadTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by it.haefelinger.flaka.Task
              extended by it.haefelinger.flaka.HttpUploadTask
All Implemented Interfaces:
Cloneable

public class HttpUploadTask
extends Task

Since:
1.0
Author:
merzedes

Field Summary
protected  String acceptpat
           
protected  String errorpat
           
protected  List filesets
           
protected  File logdir
           
protected  File rcfile
           
protected  HttpUpload uploader
           
 
Fields inherited from class it.haefelinger.flaka.Task
debug, el
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
HttpUploadTask()
           
 
Method Summary
 void addFileset(FileSet set)
           
 String[] eval(FileSet fs)
           
 void execute()
           
 boolean isTest()
           
 void setAcceptIf(String s)
           
 void setCategory(String S)
           
 void setDebug(boolean b)
           
 void setEndpoint(String S)
           
 void setErrorIf(String s)
           
 void setLogdir(File logdir)
           
 void setRcFile(File file)
           
 void setTest(boolean b)
           
 
Methods inherited from class it.haefelinger.flaka.Task
debug, debug, error, error, getProperty, getref, info, log, setEl, throwbx, throwbx, toFile, verbose, warn, warn
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, 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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rcfile

protected File rcfile

uploader

protected HttpUpload uploader

filesets

protected List filesets

logdir

protected File logdir

acceptpat

protected String acceptpat

errorpat

protected String errorpat
Constructor Detail

HttpUploadTask

public HttpUploadTask()
Method Detail

setAcceptIf

public void setAcceptIf(String s)

setErrorIf

public void setErrorIf(String s)

setLogdir

public void setLogdir(File logdir)

setEndpoint

public void setEndpoint(String S)

setTest

public void setTest(boolean b)

setCategory

public void setCategory(String S)

setRcFile

public void setRcFile(File file)

setDebug

public void setDebug(boolean b)
Overrides:
setDebug in class Task

addFileset

public void addFileset(FileSet set)

isTest

public boolean isTest()

eval

public String[] eval(FileSet fs)
              throws BuildException
Throws:
BuildException

execute

public void execute()
             throws BuildException
Overrides:
execute in class Task
Throws:
BuildException