org.deegree.console
Class Config

java.lang.Object
  extended by org.deegree.console.Config
All Implemented Interfaces:
Comparable<Config>

public class Config
extends Object
implements Comparable<Config>

Wraps information on a Resource and its configuration file.

Version:
$Revision: 32023 $, $Date: 2011-09-27 08:39:52 +0200 (Tue, 27 Sep 2011) $
Author:
Markus Schneider, Andreas Schmitz, last edited by: $Author: mschneider $

Constructor Summary
Config(File location, URL schemaURL, String resourceOutcome)
           
Config(File location, URL schemaURL, URL template, String resourceOutcome)
           
Config(ResourceState<?> state, ConfigManager manager, ResourceManager originalResourceManager, String resourceOutcome, boolean autoActivate)
           
 
Method Summary
 void activate()
           
 int compareTo(Config o)
           
 void deactivate()
           
 void delete()
           
 String edit()
           
 String getCapabilitiesURL()
           
 String getContent()
           
 String getId()
           
 File getLocation()
           
 ConfigManager getManager()
           
 ResourceManager getResourceManager()
           
 String getResourceOutcome()
           
 String getSchemaAsText()
           
 URL getSchemaURL()
           
 String getState()
           
 URL getTemplate()
           
 boolean isAutoActivate()
           
 boolean isRequiresWSReload()
           
 String save()
           
 void setAutoActivate(boolean autoActivate)
           
 void setContent(String content)
           
 void setId(String id)
           
 void setLocation(File location)
           
 void setManager(ConfigManager manager)
           
 void setRequiresWSReload(boolean requiresWSReload)
           
 void setResourceManager(ResourceManager resourceManager)
           
 void setResourceOutcome(String resourceOutcome)
           
 void setSchemaAsText(String schemaAsText)
           
 void setSchemaURL(URL schemaURL)
           
 void setState(ResourceState<?> state)
           
 void setTemplate(URL template)
           
 void showErrors()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Config

public Config(File location,
              URL schemaURL,
              String resourceOutcome)

Config

public Config(File location,
              URL schemaURL,
              URL template,
              String resourceOutcome)

Config

public Config(ResourceState<?> state,
              ConfigManager manager,
              ResourceManager originalResourceManager,
              String resourceOutcome,
              boolean autoActivate)
Method Detail

getCapabilitiesURL

public String getCapabilitiesURL()

getState

public String getState()

activate

public void activate()

deactivate

public void deactivate()

edit

public String edit()
            throws IOException
Throws:
IOException

delete

public void delete()

showErrors

public void showErrors()

save

public String save()

compareTo

public int compareTo(Config o)
Specified by:
compareTo in interface Comparable<Config>

getLocation

public File getLocation()

setLocation

public void setLocation(File location)

getId

public String getId()

setId

public void setId(String id)

getSchemaAsText

public String getSchemaAsText()

setSchemaAsText

public void setSchemaAsText(String schemaAsText)

getTemplate

public URL getTemplate()

setTemplate

public void setTemplate(URL template)

getContent

public String getContent()

setContent

public void setContent(String content)

getManager

public ConfigManager getManager()

setManager

public void setManager(ConfigManager manager)

getResourceOutcome

public String getResourceOutcome()

setResourceOutcome

public void setResourceOutcome(String resourceOutcome)

getSchemaURL

public URL getSchemaURL()

setSchemaURL

public void setSchemaURL(URL schemaURL)

getResourceManager

public ResourceManager getResourceManager()

setResourceManager

public void setResourceManager(ResourceManager resourceManager)

isRequiresWSReload

public boolean isRequiresWSReload()

setRequiresWSReload

public void setRequiresWSReload(boolean requiresWSReload)

isAutoActivate

public boolean isAutoActivate()

setAutoActivate

public void setAutoActivate(boolean autoActivate)

setState

public void setState(ResourceState<?> state)


Copyright © 2011. All Rights Reserved.