org.overlord.sramp.governance
Class Governance
java.lang.Object
org.overlord.sramp.governance.Governance
public class Governance
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUERY_ERROR
public static String QUERY_ERROR
TARGET_ERROR
public static String TARGET_ERROR
NOTIFICATION_ERROR
public static String NOTIFICATION_ERROR
Governance
public Governance()
read
protected void read()
validate
public String validate()
throws ConfigException
- Throws:
ConfigException
getJbpmUser
public String getJbpmUser()
getJbpmPassword
public String getJbpmPassword()
getJbpmUrl
public URL getJbpmUrl()
throws MalformedURLException
- Throws:
MalformedURLException
getSrampUrl
public URL getSrampUrl()
throws MalformedURLException
- This returns the baseURL, which by default is http://localhost:8080/s-ramp-server
- Throws:
MalformedURLException
getTargets
public Map<String,Target> getTargets()
throws ConfigException
- Throws:
ConfigException
getQueries
public Set<Query> getQueries()
throws ConfigException
- Throws:
ConfigException
getNotificationDestinations
public Map<String,NotificationDestinations> getNotificationDestinations(String channel)
throws ConfigException
- Throws:
ConfigException
getQueryInterval
public long getQueryInterval()
getAcceptableLagtime
public long getAcceptableLagtime()
Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.