Class 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 java.lang.String classifier
      The classifier of the artifact to attach
      private java.io.File file
      The file to attach.
      private java.lang.String mavenProjectHelperRefId
      The refId of the Maven project helper component.
      private java.lang.String mavenProjectRefId
      The refId of the Maven project.
      private java.lang.String type
      The type of the artifact to attach.
      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      java.lang.String getClassifier()  
      java.io.File getFile()  
      java.lang.String getMavenProjectRefId()  
      java.lang.String getType()  
      void setClassifier​(java.lang.String classifier)  
      void setFile​(java.io.File file)  
      void setMavenProjectRefId​(java.lang.String mavenProjectRefId)  
      void setType​(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
      • 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

      • 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.
      • file

        private java.io.File file
        The file to attach.
      • classifier

        private java.lang.String classifier
        The classifier of the artifact to attach
      • type

        private java.lang.String type
        The type of the artifact to attach. Defaults to file extension.
    • Constructor Detail

      • AttachArtifactTask

        public AttachArtifactTask()
    • Method Detail

      • execute

        public void execute()
        Overrides:
        execute in class org.apache.tools.ant.Task
      • getFile

        public java.io.File getFile()
        Returns:
        file
      • setFile

        public void setFile​(java.io.File file)
        Parameters:
        file - file
      • getMavenProjectRefId

        public java.lang.String getMavenProjectRefId()
        Returns:
        mavenProjectRefId
      • setMavenProjectRefId

        public void setMavenProjectRefId​(java.lang.String mavenProjectRefId)
        Parameters:
        mavenProjectRefId - mavenProjectRefId
      • getClassifier

        public java.lang.String getClassifier()
        Returns:
        classifier
      • setClassifier

        public void setClassifier​(java.lang.String classifier)
        Parameters:
        classifier - classifier
      • getType

        public java.lang.String getType()
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
        Parameters:
        type - type