org.astrogrid.community.client.ant
Class ServiceStatusTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.astrogrid.community.client.ant.ServiceStatusTask

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

An Ant task to check our service status.


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
ServiceStatusTask()
          Public constructor.
ServiceStatusTask(org.apache.tools.ant.Task parent)
          Public constructor.
 
Method Summary
 void execute()
          Execute our Task.
 java.lang.String getAddress()
          Get the service endpoint.
 java.lang.String getType()
          Get the service type.
 void init()
          Initialise our Task.
 void setAddress(java.lang.String value)
          Set the service endpoint address.
 void setType(java.lang.String value)
          Set the service type.
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
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

ServiceStatusTask

public ServiceStatusTask()
Public constructor.


ServiceStatusTask

public ServiceStatusTask(org.apache.tools.ant.Task parent)
Public constructor.

Method Detail

init

public void init()
          throws org.apache.tools.ant.BuildException
Initialise our Task.

Throws:
org.apache.tools.ant.BuildException

getType

public java.lang.String getType()
Get the service type.


setType

public void setType(java.lang.String value)
Set the service type.


getAddress

public java.lang.String getAddress()
Get the service endpoint.


setAddress

public void setAddress(java.lang.String value)
Set the service endpoint address.


execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execute our Task.

Throws:
org.apache.tools.ant.BuildException


Copyright © 2002-2007 AstroGrid. All Rights Reserved.