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.plugins.antrun.taskconfig; 25 26 /** 27 * Class AttachArtifactConfiguration. 28 * 29 * @version $Revision$ $Date$ 30 */ 31 @SuppressWarnings( "all" ) 32 public class AttachArtifactConfiguration 33 implements java.io.Serializable 34 { 35 36 //--------------------------/ 37 //- Class/Member Variables -/ 38 //--------------------------/ 39 40 /** 41 * The file to attach to the project. 42 */ 43 private String _file_placeholder; 44 45 /** 46 * A classifier assigned to the artifact. 47 */ 48 private String classifier; 49 50 /** 51 * The type of the artifact, zip, war, etc. 52 */ 53 private String type; 54 55 /** 56 * Field modelEncoding. 57 */ 58 private String modelEncoding = "UTF-8"; 59 60 61 //-----------/ 62 //- Methods -/ 63 //-----------/ 64 65 /** 66 * Get a classifier assigned to the artifact. 67 * 68 * @return String 69 */ 70 public String getClassifier() 71 { 72 return this.classifier; 73 } //-- String getClassifier() 74 75 /** 76 * Get the modelEncoding field. 77 * 78 * @return String 79 */ 80 public String getModelEncoding() 81 { 82 return this.modelEncoding; 83 } //-- String getModelEncoding() 84 85 /** 86 * Get the type of the artifact, zip, war, etc. 87 * 88 * @return String 89 */ 90 public String getType() 91 { 92 return this.type; 93 } //-- String getType() 94 95 /** 96 * Set a classifier assigned to the artifact. 97 * 98 * @param classifier a classifier object. 99 */ 100 public void setClassifier( String classifier ) 101 { 102 this.classifier = classifier; 103 } //-- void setClassifier( String ) 104 105 /** 106 * Set the modelEncoding field. 107 * 108 * @param modelEncoding a modelEncoding object. 109 */ 110 public void setModelEncoding( String modelEncoding ) 111 { 112 this.modelEncoding = modelEncoding; 113 } //-- void setModelEncoding( String ) 114 115 /** 116 * Set the type of the artifact, zip, war, etc. 117 * 118 * @param type a type object. 119 */ 120 public void setType( String type ) 121 { 122 this.type = type; 123 } //-- void setType( String ) 124 125 126 private java.io.File file; 127 128 public java.io.File getFile() 129 { 130 return this.file; 131 } 132 133 public void setFile( java.io.File file ) 134 { 135 this.file = file; 136 } 137 138 }