public interface Configuration<E extends ServerEnvironment>
components.| Modifier and Type | Method and Description |
|---|---|
E |
getEnvironment()
Returns ComponentEnvironment
|
JComponent |
getGui(Frame masterFrame)
Returns the configuration gui.
|
String |
getParameter(String name)
Returns a specific parameter or
null if it's not available. |
Set<String> |
getParameterNames()
Returns all parameter names.
|
boolean |
hasGui()
Returns
true if this component has a gui to show and change it's configuration. |
void |
init(String moduleName,
String componentName,
E env)
Initializes this component with the given
environment. |
void |
load()
Loads the current configuration from appropriate
conf directory. |
void |
store()
Stores the current configuration.
|
boolean hasGui()
true if this component has a gui to show and change it's configuration.true if this component has a gui to show and change it's configuration.@Nullable JComponent getGui(Frame masterFrame)
masterFrame - basic frame component, for creating new windowsnull.void load()
conf directory.void store()
Set<String> getParameterNames()
@Nullable String getParameter(String name)
null if it's not available.name - parameter name.null.void init(String moduleName, String componentName, E env)
environment. This method is called before the
instance is used.moduleName - module namecomponentName - component nameenv - useful environment information for this component.E getEnvironment()
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500