biz.hammurapi.ant
Class ContainerTask

java.lang.Object
  extended by Task
      extended by biz.hammurapi.ant.ContainerTask

public class ContainerTask
extends Task

PV Container wrapped in Ant task. Instantiates container, mounts /logger and /taks and then executes nested <command> entries

Author:
Pavel Vlasov

Nested Class Summary
 class ContainerTask.Execute
          Context to "execute".
 
Constructor Summary
ContainerTask()
           
 
Method Summary
 ContainerTask.Execute createExecute()
           
 void execute()
           
 void setFile(java.io.File file)
          File to load configuration from.
 void setResource(java.lang.String resource)
          Classloader resource to load configuration from.
 void setUrl(java.lang.String url)
          URL to load configuration from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerTask

public ContainerTask()
Method Detail

createExecute

public ContainerTask.Execute createExecute()

setUrl

public void setUrl(java.lang.String url)
URL to load configuration from. One of URL, file or resource is mandatory. These attributes are mutually exclusive.

Parameters:
url -

setFile

public void setFile(java.io.File file)
File to load configuration from. One of URL, file or resource is mandatory. These attributes are mutually exclusive.

Parameters:
url -

setResource

public void setResource(java.lang.String resource)
Classloader resource to load configuration from. One of URL, file or resource is mandatory. These attributes are mutually exclusive.

Parameters:
url -

execute

public void execute()
             throws BuildException
Throws:
BuildException


Copyright © 2003 Hammurapi Group. All Rights Reserved.