net.sf.taverna.raven.appconfig.bootstrap
Class RavenProperties

java.lang.Object
  extended by net.sf.taverna.raven.appconfig.bootstrap.AbstractConfiguration
      extended by net.sf.taverna.raven.appconfig.bootstrap.RavenProperties

public class RavenProperties
extends AbstractConfiguration

Class to handle the raven.properties. Upon construction it first checks for a remote copy, which if found it downloads and stores locally. If it fails to get a remote copy it uses a locally stored copy if present, otherwise as a last resort it uses the copy bundled with the bootstrap jar.

Author:
Stuart Owen

Method Summary
 boolean configuredForUpdates()
          Indicates whether the system is configured to allow updates (using a profilelist) or not (using a forced profile).
static RavenProperties getInstance()
           
 java.lang.String getRavenProfileListLocation()
           
 java.lang.String getRavenProfileLocation()
           
 
Methods inherited from class net.sf.taverna.raven.appconfig.bootstrap.AbstractConfiguration
flush, getProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RavenProperties getInstance()

configuredForUpdates

public boolean configuredForUpdates()
Indicates whether the system is configured to allow updates (using a profilelist) or not (using a forced profile).

Returns:

getRavenProfileLocation

public java.lang.String getRavenProfileLocation()

getRavenProfileListLocation

public java.lang.String getRavenProfileListLocation()