1 package org.apache.maven.lifecycle.mapping; 2 3 18 19 import java.util.ArrayList ; 20 import java.util.List ; 21 import java.util.Map ; 22 23 26 public class Lifecycle 27 { 28 31 private String id; 32 33 36 private Map phases; 37 38 private List optionalMojos = new ArrayList (); 39 40 43 public String getId() 44 { 45 return this.id; 46 } 48 51 public Map getPhases() 52 { 53 return this.phases; 54 } 55 56 61 public void setId( String id ) 62 { 63 this.id = id; 64 } 66 public void addOptionalMojo( String optionalMojo ) 67 { 68 this.optionalMojos.add( optionalMojo ); 69 } 70 71 public void setOptionalMojos( List optionalMojos ) 72 { 73 this.optionalMojos = optionalMojos; 74 } 75 76 public List getOptionalMojos() 77 { 78 return this.optionalMojos; 79 } 80 } 81 | Popular Tags |