org.ow2.petals.ant
Class AbstractInstallerAntTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.ow2.petals.ant.AbstractJBIAntTask
              extended by org.ow2.petals.ant.AbstractInstallerAntTask
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
DeployServiceAssemblyTask, InstallComponentTask, InstallSharedLibraryTask

public abstract class AbstractInstallerAntTask
extends AbstractJBIAntTask

This class is used to install or deploy a JBI component, shared library or service assembly

Author:
ddesjardins chamerling - eBMWebsourcing

Field Summary
protected  java.lang.String file
          Fully qualified installation file path name
 
Fields inherited from class org.ow2.petals.ant.AbstractJBIAntTask
DEFAULT_JMX_HOST, DEFAULT_JMX_PORT, failOnError, host, password, port, saNamepattern, suResultpattern, username
 
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
AbstractInstallerAntTask()
           
 
Method Summary
 void setFile(java.lang.String file)
           
protected  java.net.URL validateFileParameter()
          Validate the file parameter.
 
Methods inherited from class org.ow2.petals.ant.AbstractJBIAntTask
doTask, execute, getHost, getJMXClient, getPassword, getPort, getUsername, isFailOnError, setFailOnError, setHost, setPassword, setPort, setUsername
 
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, 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

file

protected java.lang.String file
Fully qualified installation file path name

Constructor Detail

AbstractInstallerAntTask

public AbstractInstallerAntTask()
Method Detail

setFile

public void setFile(java.lang.String file)
Parameters:
file -

validateFileParameter

protected java.net.URL validateFileParameter()
                                      throws org.apache.tools.ant.BuildException
Validate the file parameter. The file parameter should not be null and must be a jar or a zip archive.

Throws:
org.apache.tools.ant.BuildException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.