001/* 002 =================== DO NOT EDIT THIS FILE ==================== 003 004 Generated by Modello 2.4.0, 005 006 any modifications will be overwritten. 007 008 ============================================================== 009 */ 010 011package org.apache.maven.tools.plugin.extractor.model; 012 013/** 014 * 015 * A sub-process execution of a lifecycle to satisfy the 016 * needs of a mojo. 017 * 018 * 019 * @version $Revision$ $Date$ 020 */ 021@SuppressWarnings( "all" ) 022public class LifecycleExecution 023 implements java.io.Serializable 024{ 025 026 //--------------------------/ 027 //- Class/Member Variables -/ 028 //--------------------------/ 029 030 /** 031 * The name of the overlay to apply to the sub-lifecycle before 032 * executing it. If specified, this 033 * lifecycle overlay definition will be bundled 034 * with the plugin. 035 * 036 */ 037 private String lifecycle; 038 039 /** 040 * The phase in the sub-lifecycle. 041 */ 042 private String phase; 043 044 /** 045 * A goal, not attached to a lifecycle phase, which should be 046 * executed ahead of this mojo. 047 * 048 */ 049 private String goal; 050 051 052 //-----------/ 053 //- Methods -/ 054 //-----------/ 055 056 /** 057 * Get a goal, not attached to a lifecycle phase, which should 058 * be executed ahead of this mojo. 059 * 060 * @return String 061 */ 062 public String getGoal() 063 { 064 return this.goal; 065 } //-- String getGoal() 066 067 /** 068 * Get the name of the overlay to apply to the sub-lifecycle 069 * before executing it. If specified, this 070 * lifecycle overlay definition will be bundled 071 * with the plugin. 072 * 073 * @return String 074 */ 075 public String getLifecycle() 076 { 077 return this.lifecycle; 078 } //-- String getLifecycle() 079 080 /** 081 * Get the phase in the sub-lifecycle. 082 * 083 * @return String 084 */ 085 public String getPhase() 086 { 087 return this.phase; 088 } //-- String getPhase() 089 090 /** 091 * Set a goal, not attached to a lifecycle phase, which should 092 * be executed ahead of this mojo. 093 * 094 * @param goal a goal object. 095 */ 096 public void setGoal( String goal ) 097 { 098 this.goal = goal; 099 } //-- void setGoal( String ) 100 101 /** 102 * Set the name of the overlay to apply to the sub-lifecycle 103 * before executing it. If specified, this 104 * lifecycle overlay definition will be bundled 105 * with the plugin. 106 * 107 * @param lifecycle a lifecycle object. 108 */ 109 public void setLifecycle( String lifecycle ) 110 { 111 this.lifecycle = lifecycle; 112 } //-- void setLifecycle( String ) 113 114 /** 115 * Set the phase in the sub-lifecycle. 116 * 117 * @param phase a phase object. 118 */ 119 public void setPhase( String phase ) 120 { 121 this.phase = phase; 122 } //-- void setPhase( String ) 123 124}