forked from wttech/SecureAEM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wttech#31: Extracted separate interfaces for global configuration and…
… particular test configuration
- Loading branch information
Bartosz Wesolowski
committed
Mar 4, 2019
1 parent
0e8bbb4
commit c524eb7
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
src/main/java/com/cognifide/secureaem/GlobalConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.cognifide.secureaem; | ||
|
||
public interface GlobalConfiguration { | ||
String getDispatcherUrl(); | ||
|
||
String getAuthor(); | ||
|
||
String getAuthorLogin(); | ||
|
||
String getAuthorPassword(); | ||
|
||
String getPublish(); | ||
|
||
String getPublishLogin(); | ||
|
||
String getPublishPassword(); | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/com/cognifide/secureaem/TestConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.cognifide.secureaem; | ||
|
||
/** | ||
* Configuration of particular test | ||
*/ | ||
public interface TestConfiguration { | ||
|
||
String getStringValue(String name, String defaultValue); | ||
|
||
String[] getStringList(String name); | ||
} |