-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
750 additions
and
741 deletions.
There are no files selected for viewing
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
44 changes: 44 additions & 0 deletions
44
portal/src/main/java/edu/isi/wings/portal/classes/config/MainConfig.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,44 @@ | ||
package edu.isi.wings.portal.classes.config; | ||
|
||
import org.apache.commons.configuration.plist.PropertyListConfiguration; | ||
|
||
public class MainConfig { | ||
|
||
// Comma separated list of spellbook client hosts | ||
private String clients; | ||
private String dotFile; | ||
private String serverUrl; | ||
|
||
public MainConfig() { | ||
} | ||
|
||
public MainConfig(PropertyListConfiguration serverConfig) { | ||
this.clients = serverConfig.getString(Config.MAIN_CLIENTS_KEY); | ||
this.dotFile = serverConfig.getString(Config.MAIN_GRAPHVIZ_KEY); | ||
this.serverUrl = serverConfig.getString(Config.MAIN_SERVER_URL_KEY); | ||
} | ||
|
||
public String getClients() { | ||
return clients; | ||
} | ||
|
||
public void setClients(String clients) { | ||
this.clients = clients; | ||
} | ||
|
||
public String getDotFile() { | ||
return dotFile; | ||
} | ||
|
||
public void setDotFile(String dotFile) { | ||
this.dotFile = dotFile; | ||
} | ||
|
||
public String getServerUrl() { | ||
return serverUrl; | ||
} | ||
|
||
public void setServerUrl(String serverUrl) { | ||
this.serverUrl = serverUrl; | ||
} | ||
} |
Oops, something went wrong.