Class AtomExecuteTask

  • All Implemented Interfaces:
    org.sonatype.maven.polyglot.execute.ExecuteTask

    public class AtomExecuteTask
    extends org.sonatype.maven.polyglot.execute.ExecuteTaskSupport
    Encapsulates a Groovy ExecuteTask.
    Since:
    0.7
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map attrs  
      private java.lang.Object value  
    • Constructor Summary

      Constructors 
      Constructor Description
      AtomExecuteTask​(java.lang.Object value, java.util.Map attrs)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(org.sonatype.maven.polyglot.execute.ExecuteContext context)  
      java.util.Map getAttributes()  
      java.lang.Object getValue()  
      java.lang.String toString()  
      • Methods inherited from class org.sonatype.maven.polyglot.execute.ExecuteTaskSupport

        getId, getPhase, getProfileId, setId, setPhase, setProfileId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

        private final java.lang.Object value
      • attrs

        private final java.util.Map attrs
    • Constructor Detail

      • AtomExecuteTask

        public AtomExecuteTask​(java.lang.Object value,
                               java.util.Map attrs)
    • Method Detail

      • getValue

        public java.lang.Object getValue()
      • getAttributes

        public java.util.Map getAttributes()
      • execute

        public void execute​(org.sonatype.maven.polyglot.execute.ExecuteContext context)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object