Coverage Report - org.apache.maven.plugin.tools.model.LifecycleExecution
 
Classes in this File Line Coverage Branch Coverage Complexity
LifecycleExecution
0% 
N/A 
1
 
 1  
 /*
 2  
  * $Id$
 3  
  */
 4  
 
 5  
 package org.apache.maven.plugin.tools.model;
 6  
 
 7  
   //---------------------------------/
 8  
  //- Imported classes and packages -/
 9  
 //---------------------------------/
 10  
 
 11  
 import java.util.Date;
 12  
 
 13  
 /**
 14  
  * 
 15  
  *               A sub-process execution of a lifecycle to satisfy the
 16  
  * needs of a mojo.
 17  
  *       
 18  
  * 
 19  
  * @version $Revision$ $Date$
 20  
  */
 21  0
 public class LifecycleExecution implements java.io.Serializable {
 22  
 
 23  
 
 24  
       //--------------------------/
 25  
      //- Class/Member Variables -/
 26  
     //--------------------------/
 27  
 
 28  
     /**
 29  
      * Field lifecycle
 30  
      */
 31  
     private String lifecycle;
 32  
 
 33  
     /**
 34  
      * Field phase
 35  
      */
 36  
     private String phase;
 37  
 
 38  
     /**
 39  
      * Field goal
 40  
      */
 41  
     private String goal;
 42  
 
 43  
 
 44  
       //-----------/
 45  
      //- Methods -/
 46  
     //-----------/
 47  
 
 48  
     /**
 49  
      * Get A goal, not attached to a lifecycle phase, which should
 50  
      * be executed ahead of this mojo.
 51  
      *           
 52  
      */
 53  
     public String getGoal()
 54  
     {
 55  0
         return this.goal;
 56  
     } //-- String getGoal() 
 57  
 
 58  
     /**
 59  
      * Get The name of the overlay to apply to the sub-lifecycle
 60  
      * before executing it. If specified, this
 61  
      *             lifecycle overlay definition will be bundled
 62  
      * with the plugin.
 63  
      *           
 64  
      */
 65  
     public String getLifecycle()
 66  
     {
 67  0
         return this.lifecycle;
 68  
     } //-- String getLifecycle() 
 69  
 
 70  
     /**
 71  
      * Get The phase in the sub-lifecycle.
 72  
      */
 73  
     public String getPhase()
 74  
     {
 75  0
         return this.phase;
 76  
     } //-- String getPhase() 
 77  
 
 78  
     /**
 79  
      * Set A goal, not attached to a lifecycle phase, which should
 80  
      * be executed ahead of this mojo.
 81  
      *           
 82  
      * 
 83  
      * @param goal
 84  
      */
 85  
     public void setGoal(String goal)
 86  
     {
 87  0
         this.goal = goal;
 88  0
     } //-- void setGoal(String) 
 89  
 
 90  
     /**
 91  
      * Set The name of the overlay to apply to the sub-lifecycle
 92  
      * before executing it. If specified, this
 93  
      *             lifecycle overlay definition will be bundled
 94  
      * with the plugin.
 95  
      *           
 96  
      * 
 97  
      * @param lifecycle
 98  
      */
 99  
     public void setLifecycle(String lifecycle)
 100  
     {
 101  0
         this.lifecycle = lifecycle;
 102  0
     } //-- void setLifecycle(String) 
 103  
 
 104  
     /**
 105  
      * Set The phase in the sub-lifecycle.
 106  
      * 
 107  
      * @param phase
 108  
      */
 109  
     public void setPhase(String phase)
 110  
     {
 111  0
         this.phase = phase;
 112  0
     } //-- void setPhase(String) 
 113  
 
 114  
 
 115  0
     private String modelEncoding = "UTF-8";
 116  
 
 117  
     public void setModelEncoding( String modelEncoding )
 118  
     {
 119  0
         this.modelEncoding = modelEncoding;
 120  0
     }
 121  
 
 122  
     public String getModelEncoding()
 123  
     {
 124  0
         return modelEncoding;
 125  
     }}