public interface

IConfiguration

com.pnfsoftware.jeb.core.properties.IConfiguration
Known Indirect Subclasses

Class Overview

Base interface for objects holding configuration data.

Configuration data consists of a set of key to value mappings.

Summary

Public Methods
abstract void clearProperty(String key)
Remove a property from the configuration object.
abstract Set<String> getAllPropertyKeys()
Get the collection of all property keys held by this configuration object.
abstract Object getProperty(String key)
Retrieve a property value.
abstract void setProperty(String key, Object value)
Set a property value.

Public Methods

public abstract void clearProperty (String key)

Remove a property from the configuration object.

Parameters
key the property key

public abstract Set<String> getAllPropertyKeys ()

Get the collection of all property keys held by this configuration object.

public abstract Object getProperty (String key)

Retrieve a property value.

Parameters
key the property key
Returns
  • the property value, null if the property does not exist

public abstract void setProperty (String key, Object value)

Set a property value.

Parameters
key the property key
value the property value