bexee.ant
Class StartTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended bybexee.ant.StartTask

public class StartTask
extends org.apache.tools.ant.Task

Starts a BPEL process on bexee.

Note that this Task is very primitive and supports only service operations that take a string parameter as input and return a string. It is only used for simple demonstration purposes.

Version:
$Revision: 1.1 $, $Date: 2004/12/15 14:18:17 $
Author:
Patric Fornasier, Pawel Kowalski

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
StartTask()
           
 
Method Summary
 void execute()
          Starts the process on bexee.
 void setInput(java.lang.String input)
          The input value to pass to the process.
 void setOperation(java.lang.String operation)
          Name of the operation to perform
 void setUrl(java.lang.String url)
          Location of the BPEL process Web Service.
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartTask

public StartTask()
Method Detail

setUrl

public void setUrl(java.lang.String url)
Location of the BPEL process Web Service.

Parameters:
url - a URL

setOperation

public void setOperation(java.lang.String operation)
Name of the operation to perform

Parameters:
operation - a String

setInput

public void setInput(java.lang.String input)
The input value to pass to the process.

Parameters:
input - a String

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Starts the process on bexee.

Throws:
org.apache.tools.ant.BuildException


Copyright © 2004 Berne University of Applied Sciences. All Rights Reserved.