org.deegree.console
Class Config
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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.