| 1 | /* |
| 2 | * JTiger Unit Testing Framework for J2SE 1.5 |
| 3 | * Copyright (C) 2005 Tony Morris |
| 4 | * |
| 5 | * This software is licenced under the |
| 6 | * Common Public Licence version 1.0 |
| 7 | * http://www.opensource.org/licenses/cpl1.0.php |
| 8 | * |
| 9 | * You received a copy of this licence with this software. |
| 10 | */ |
| 11 | package org.jtiger.ant; |
| 12 | |
| 13 | /** |
| 14 | * An element used in {@link JTigerTask the Ant task} to have parameters passed to the |
| 15 | * {@link org.jtiger.framework.FixtureResultsHandler} interface implementation. This implementation is given using the |
| 16 | * {@link Result} element of which this element is a subelement of. |
| 17 | * |
| 18 | * @see org.jtiger.framework.FixtureResultsHandler |
| 19 | * @see JTigerTask |
| 20 | * @author %javadoc.author.tag% |
| 21 | * @version %version%<br/> |
| 22 | * <i>Build Number %build.number%</i><br/> |
| 23 | * <i>Build Time %build.time% CET (GMT + 1)</i> |
| 24 | */ |
| 25 | public final class Param |
| 26 | { |
| 27 | private String value; |
| 28 | |
| 29 | /** |
| 30 | * Create a default <tt>Param</tt>. |
| 31 | */ |
| 32 | public Param() |
| 33 | { |
| 34 | |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Returns the value for this param. |
| 39 | * |
| 40 | * @return The value for this param. |
| 41 | */ |
| 42 | public String getValue() |
| 43 | { |
| 44 | return value; |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * Sets the value for this param. |
| 49 | * |
| 50 | * @param value The value for this param. |
| 51 | */ |
| 52 | public void setValue(final String value) |
| 53 | { |
| 54 | this.value = value; |
| 55 | } |
| 56 | } |