1 | void setRegex(String regex) {↵ | | 1 | void set↵
|
2 | setProperty(REGEX, regex);↵ | | |
|
3 | }↵ | | |
|
|
4 | public String getRegex() {↵ | | |
|
5 | return getPropertyAsString(REGEX);↵ | | |
|
6 | }↵ | | |
|
|
7 | public void setRefName(String refName) {↵ | | |
|
8 | setProperty(REFNAME, refName);↵ | | |
|
9 | ↵ | | 2 | Classname(String classname)↵
|
| | | 3 | {↵
|
| | | 4 | setProperty(CLASSNAME, classname);↵
|
| | | 5 | }↵
|
|
| | | 6 | /**↵
|
| | | 7 | * Gets the Classname attribute of the JavaConfig object↵
|
| | | 8 | *↵
|
| | | 9 | * @return the Classname value↵
|
| | | 10 | */↵
|
| | | 11 | public String getClassname()↵
|
| | | 12 | {↵
|
| | | 13 | return getPropertyAsString(CLASSNAME);↵
|
| | | 14 | }↵
|
| | | 15 | ↵
|
| | | 16 | /**↵
|
| | | 17 | * Set the string label used to create an instance of the↵
|
| | | 18 | * test with the string constructor.↵
|
| | | 19 | * @param constr↵
|
| | | 20 | */↵
|
| | | 21 | public void setConstructorString(String constr)↵
|
| | | 22 | {↵
|
| | | 23 | setProperty(CONSTRUCTORSTRING,constr);↵
|
10 | } | | 24 | }
|