org.apache.maven.artifact.ant
Class InstallDeployTaskSupport

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.maven.artifact.ant.AbstractArtifactTask
              extended by org.apache.maven.artifact.ant.InstallDeployTaskSupport
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
DeployTask, InstallTask

public abstract class InstallDeployTaskSupport
extends AbstractArtifactTask

Support for install/deploy tasks.

Version:
$Id: InstallDeployTaskSupport.java 551463 2007-06-28 06:04:10Z jvanzyl $
Author:
Jason Dillon

Field Summary
protected  java.util.List attachedArtifacts
           
protected  java.io.File file
           
 
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
InstallDeployTaskSupport()
           
 
Method Summary
protected  org.apache.maven.artifact.Artifact createArtifactFromAttached(AttachedArtifact attached, org.apache.maven.artifact.Artifact parent)
           
 AttachedArtifact createAttach()
           
 java.io.File getFile()
           
 void setFile(java.io.File file)
           
 
Methods inherited from class org.apache.maven.artifact.ant.AbstractArtifactTask
addLocalRepository, addPom, buildPom, createAntRemoteRepository, createAntRemoteRepositoryBase, createArtifact, createDummyPom, createLocalArtifactRepository, createRemoteArtifactRepository, diagnoseError, doExecute, execute, getContainer, getDefaultLocalRepository, getLocalRepository, getPomRefId, getSettings, getSupportedProtocols, getSupportedProtocolsAsString, lookup, lookup, setPomRefId, setProfiles, setSettingsFile
 
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.io.File file

attachedArtifacts

protected java.util.List attachedArtifacts
Constructor Detail

InstallDeployTaskSupport

public InstallDeployTaskSupport()
Method Detail

getFile

public java.io.File getFile()

setFile

public void setFile(java.io.File file)

createArtifactFromAttached

protected org.apache.maven.artifact.Artifact createArtifactFromAttached(AttachedArtifact attached,
                                                                        org.apache.maven.artifact.Artifact parent)

createAttach

public AttachedArtifact createAttach()