001package net.sf.logdistiller.ant; 002 003/* 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 017/** 018 * Definition of a property that must be overridden in a logdistillation. The property must have been defined in 019 * logdistiller definition, or an error will occur at runtime. 020 * 021 * <pre> 022 * <property name="<i>[property name]</i>" value="<i>[property value]</i>"/> 023 * </pre> 024 */ 025public class AntProperty 026{ 027 private String name; 028 029 private String value; 030 031 public AntProperty() 032 { 033 } 034 035 public void setName( String name ) 036 { 037 this.name = name; 038 } 039 040 public void setValue( String value ) 041 { 042 this.value = value; 043 } 044 045 public String getName() 046 { 047 return name; 048 } 049 050 public String getValue() 051 { 052 return value; 053 } 054}