org.overlord.sramp.governance
Class Governance

java.lang.Object
  extended by org.overlord.sramp.governance.Governance

public class Governance
extends Object


Field Summary
static String NOTIFICATION_ERROR
           
static String QUERY_ERROR
           
static String TARGET_ERROR
           
 
Constructor Summary
Governance()
           
 
Method Summary
 long getAcceptableLagtime()
           
 String getJbpmPassword()
           
 URL getJbpmUrl()
           
 String getJbpmUser()
           
 Map<String,NotificationDestinations> getNotificationDestinations(String channel)
           
 Set<Query> getQueries()
           
 long getQueryInterval()
           
 URL getSrampUrl()
          This returns the baseURL, which by default is http://localhost:8080/s-ramp-server
 Map<String,Target> getTargets()
           
protected  void read()
           
 String validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUERY_ERROR

public static String QUERY_ERROR

TARGET_ERROR

public static String TARGET_ERROR

NOTIFICATION_ERROR

public static String NOTIFICATION_ERROR
Constructor Detail

Governance

public Governance()
Method Detail

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.