Package org.apache.maven.ant.tasks
Class AttachArtifactTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.apache.maven.ant.tasks.AttachArtifactTask
-
- All Implemented Interfaces:
java.lang.Cloneable
public class AttachArtifactTask extends org.apache.tools.ant.Task
-
-
Field Summary
Fields Modifier and Type Field Description private AttachArtifactConfigurationconfigurationprivate java.lang.StringmavenProjectHelperRefIdThe refId of the Maven project helper component.private java.lang.StringmavenProjectRefIdThe refId of the Maven project.
-
Constructor Summary
Constructors Constructor Description AttachArtifactTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()java.lang.StringgetClassifier()java.io.FilegetFile()java.lang.StringgetMavenProjectRefId()java.lang.StringgetType()voidsetClassifier(java.lang.String classifier)voidsetFile(java.io.File file)voidsetMavenProjectRefId(java.lang.String mavenProjectRefId)voidsetType(java.lang.String type)-
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
-
-
-
-
Field Detail
-
mavenProjectRefId
private java.lang.String mavenProjectRefId
The refId of the Maven project.
-
mavenProjectHelperRefId
private java.lang.String mavenProjectHelperRefId
The refId of the Maven project helper component.
-
configuration
private AttachArtifactConfiguration configuration
-
-
Method Detail
-
execute
public void execute()
- Overrides:
executein classorg.apache.tools.ant.Task
-
getMavenProjectRefId
public java.lang.String getMavenProjectRefId()
- Returns:
mavenProjectRefId
-
setMavenProjectRefId
public void setMavenProjectRefId(java.lang.String mavenProjectRefId)
- Parameters:
mavenProjectRefId-mavenProjectRefId
-
getFile
public java.io.File getFile()
-
setFile
public void setFile(java.io.File file)
-
getClassifier
public java.lang.String getClassifier()
-
setClassifier
public void setClassifier(java.lang.String classifier)
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
-