001/* 002 Licensed to the Apache Software Foundation (ASF) under one 003 or more contributor license agreements. See the NOTICE file 004 distributed with this work for additional information 005 regarding copyright ownership. The ASF licenses this file 006 to you under the Apache License, Version 2.0 (the 007 "License"); you may not use this file except in compliance 008 with the License. You may obtain a copy of the License at 009 010 http://www.apache.org/licenses/LICENSE-2.0 011 012 Unless required by applicable law or agreed to in writing, 013 software distributed under the License is distributed on an 014 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 015 KIND, either express or implied. See the License for the 016 specific language governing permissions and limitations 017 under the License. 018 =================== DO NOT EDIT THIS FILE ==================== 019 Generated by Modello 2.5.1, 020 any modifications will be overwritten. 021 ============================================================== 022 */ 023 024package org.apache.maven.tools.plugin.extractor.model; 025 026/** 027 * 028 * A sub-process execution of a lifecycle to satisfy the 029 * needs of a mojo. 030 * 031 * 032 * @version $Revision$ $Date$ 033 */ 034@SuppressWarnings( "all" ) 035public class LifecycleExecution 036 implements java.io.Serializable 037{ 038 039 //--------------------------/ 040 //- Class/Member Variables -/ 041 //--------------------------/ 042 043 /** 044 * The name of the overlay to apply to the sub-lifecycle before 045 * executing it. If specified, this 046 * lifecycle overlay definition will be bundled 047 * with the plugin. 048 * 049 */ 050 private String lifecycle; 051 052 /** 053 * The phase in the sub-lifecycle. 054 */ 055 private String phase; 056 057 /** 058 * A goal, not attached to a lifecycle phase, which should be 059 * executed ahead of this mojo. 060 * 061 */ 062 private String goal; 063 064 065 //-----------/ 066 //- Methods -/ 067 //-----------/ 068 069 /** 070 * Get a goal, not attached to a lifecycle phase, which should 071 * be executed ahead of this mojo. 072 * 073 * @return String 074 */ 075 public String getGoal() 076 { 077 return this.goal; 078 } //-- String getGoal() 079 080 /** 081 * Get the name of the overlay to apply to the sub-lifecycle 082 * before executing it. If specified, this 083 * lifecycle overlay definition will be bundled 084 * with the plugin. 085 * 086 * @return String 087 */ 088 public String getLifecycle() 089 { 090 return this.lifecycle; 091 } //-- String getLifecycle() 092 093 /** 094 * Get the phase in the sub-lifecycle. 095 * 096 * @return String 097 */ 098 public String getPhase() 099 { 100 return this.phase; 101 } //-- String getPhase() 102 103 /** 104 * Set a goal, not attached to a lifecycle phase, which should 105 * be executed ahead of this mojo. 106 * 107 * @param goal a goal object. 108 */ 109 public void setGoal( String goal ) 110 { 111 this.goal = goal; 112 } //-- void setGoal( String ) 113 114 /** 115 * Set the name of the overlay to apply to the sub-lifecycle 116 * before executing it. If specified, this 117 * lifecycle overlay definition will be bundled 118 * with the plugin. 119 * 120 * @param lifecycle a lifecycle object. 121 */ 122 public void setLifecycle( String lifecycle ) 123 { 124 this.lifecycle = lifecycle; 125 } //-- void setLifecycle( String ) 126 127 /** 128 * Set the phase in the sub-lifecycle. 129 * 130 * @param phase a phase object. 131 */ 132 public void setPhase( String phase ) 133 { 134 this.phase = phase; 135 } //-- void setPhase( String ) 136 137}