1 /*
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 =================== DO NOT EDIT THIS FILE ====================
19 Generated by Modello 2.5.1,
20 any modifications will be overwritten.
21 ==============================================================
22 */
23
24 package org.apache.maven.buildcache.xml.build;
25
26 /**
27 * Class CompletedExecution.
28 *
29 * @version $Revision$ $Date$
30 */
31 @SuppressWarnings( "all" )
32 public class CompletedExecution
33 implements java.io.Serializable
34 {
35
36 //--------------------------/
37 //- Class/Member Variables -/
38 //--------------------------/
39
40 /**
41 * Field executionKey.
42 */
43 private String executionKey;
44
45 /**
46 * Field mojoClassName.
47 */
48 private String mojoClassName;
49
50 /**
51 * Field properties.
52 */
53 private java.util.List<PropertyValue> properties;
54
55
56 //-----------/
57 //- Methods -/
58 //-----------/
59
60 /**
61 * Method addProperty.
62 *
63 * @param propertyValue a propertyValue object.
64 */
65 public void addProperty( PropertyValue propertyValue )
66 {
67 getProperties().add( propertyValue );
68 } //-- void addProperty( PropertyValue )
69
70 /**
71 * Get the executionKey field.
72 *
73 * @return String
74 */
75 public String getExecutionKey()
76 {
77 return this.executionKey;
78 } //-- String getExecutionKey()
79
80 /**
81 * Get the mojoClassName field.
82 *
83 * @return String
84 */
85 public String getMojoClassName()
86 {
87 return this.mojoClassName;
88 } //-- String getMojoClassName()
89
90 /**
91 * Method getProperties.
92 *
93 * @return List
94 */
95 public java.util.List<PropertyValue> getProperties()
96 {
97 if ( this.properties == null )
98 {
99 this.properties = new java.util.ArrayList<PropertyValue>();
100 }
101
102 return this.properties;
103 } //-- java.util.List<PropertyValue> getProperties()
104
105 /**
106 * Method removeProperty.
107 *
108 * @param propertyValue a propertyValue object.
109 */
110 public void removeProperty( PropertyValue propertyValue )
111 {
112 getProperties().remove( propertyValue );
113 } //-- void removeProperty( PropertyValue )
114
115 /**
116 * Set the executionKey field.
117 *
118 * @param executionKey a executionKey object.
119 */
120 public void setExecutionKey( String executionKey )
121 {
122 this.executionKey = executionKey;
123 } //-- void setExecutionKey( String )
124
125 /**
126 * Set the mojoClassName field.
127 *
128 * @param mojoClassName a mojoClassName object.
129 */
130 public void setMojoClassName( String mojoClassName )
131 {
132 this.mojoClassName = mojoClassName;
133 } //-- void setMojoClassName( String )
134
135 /**
136 * Set the properties field.
137 *
138 * @param properties a properties object.
139 */
140 public void setProperties( java.util.List<PropertyValue> properties )
141 {
142 this.properties = properties;
143 } //-- void setProperties( java.util.List )
144
145 }