1 package org.codehaus.mojo.fitnesse;
2
3 /*
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, version 2.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with Foobar. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17 public class ClassPathSubstitution
18 {
19
20 /**
21 * String to search.
22 *
23 * @parameter
24 * @required
25 */
26 private String search;
27
28 /**
29 * String to replace.
30 *
31 * @parameter
32 * @required
33 */
34 private String replaceWith;
35
36 public ClassPathSubstitution()
37 {
38 }
39
40 public ClassPathSubstitution( String search, String replaceWith )
41 {
42 super();
43 this.search = search;
44 this.replaceWith = replaceWith;
45 }
46
47 public String getReplaceWith()
48 {
49 return replaceWith;
50 }
51
52 public String getSearch()
53 {
54 return search;
55 }
56
57 }