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.config; 25 26 /** 27 * Cache build metadata. 28 * 29 * @version $Revision$ $Date$ 30 */ 31 @SuppressWarnings( "all" ) 32 public class CacheConfig 33 implements java.io.Serializable 34 { 35 36 //--------------------------/ 37 //- Class/Member Variables -/ 38 //--------------------------/ 39 40 /** 41 * Configuration of main cache properties. 42 */ 43 private Configuration configuration; 44 45 /** 46 * Configuration for source code input files participating in 47 * checksum calculation. 48 */ 49 private Input input; 50 51 /** 52 * Configuration for output artifacts, it's needed if you want 53 * to explicitly include/exclude something from caching. 54 */ 55 private Output output; 56 57 /** 58 * Execution rules for plugins in cached mode. Defines which 59 * plugins should run always. 60 */ 61 private ExecutionControl executionControl; 62 63 /** 64 * Field modelEncoding. 65 */ 66 private String modelEncoding = "UTF-8"; 67 68 69 //-----------/ 70 //- Methods -/ 71 //-----------/ 72 73 /** 74 * Get configuration of main cache properties. 75 * 76 * @return Configuration 77 */ 78 public Configuration getConfiguration() 79 { 80 return this.configuration; 81 } //-- Configuration getConfiguration() 82 83 /** 84 * Get execution rules for plugins in cached mode. Defines 85 * which plugins should run always. 86 * 87 * @return ExecutionControl 88 */ 89 public ExecutionControl getExecutionControl() 90 { 91 return this.executionControl; 92 } //-- ExecutionControl getExecutionControl() 93 94 /** 95 * Get configuration for source code input files participating 96 * in checksum calculation. 97 * 98 * @return Input 99 */ 100 public Input getInput() 101 { 102 return this.input; 103 } //-- Input getInput() 104 105 /** 106 * Get the modelEncoding field. 107 * 108 * @return String 109 */ 110 public String getModelEncoding() 111 { 112 return this.modelEncoding; 113 } //-- String getModelEncoding() 114 115 /** 116 * Get configuration for output artifacts, it's needed if you 117 * want to explicitly include/exclude something from caching. 118 * 119 * @return Output 120 */ 121 public Output getOutput() 122 { 123 return this.output; 124 } //-- Output getOutput() 125 126 /** 127 * Set configuration of main cache properties. 128 * 129 * @param configuration a configuration object. 130 */ 131 public void setConfiguration( Configuration configuration ) 132 { 133 this.configuration = configuration; 134 } //-- void setConfiguration( Configuration ) 135 136 /** 137 * Set execution rules for plugins in cached mode. Defines 138 * which plugins should run always. 139 * 140 * @param executionControl a executionControl object. 141 */ 142 public void setExecutionControl( ExecutionControl executionControl ) 143 { 144 this.executionControl = executionControl; 145 } //-- void setExecutionControl( ExecutionControl ) 146 147 /** 148 * Set configuration for source code input files participating 149 * in checksum calculation. 150 * 151 * @param input a input object. 152 */ 153 public void setInput( Input input ) 154 { 155 this.input = input; 156 } //-- void setInput( Input ) 157 158 /** 159 * Set the modelEncoding field. 160 * 161 * @param modelEncoding a modelEncoding object. 162 */ 163 public void setModelEncoding( String modelEncoding ) 164 { 165 this.modelEncoding = modelEncoding; 166 } //-- void setModelEncoding( String ) 167 168 /** 169 * Set configuration for output artifacts, it's needed if you 170 * want to explicitly include/exclude something from caching. 171 * 172 * @param output a output object. 173 */ 174 public void setOutput( Output output ) 175 { 176 this.output = output; 177 } //-- void setOutput( Output ) 178 179 }