com.khubla.pragmatach.framework.configuration
Class HashmapConfigurationImpl

java.lang.Object
  extended by com.khubla.pragmatach.framework.configuration.BaseConfiguration
      extended by com.khubla.pragmatach.framework.configuration.HashmapConfigurationImpl
All Implemented Interfaces:
Configuration

public class HashmapConfigurationImpl
extends BaseConfiguration

a configuration class mainly useful for testing

Author:
tome

Constructor Summary
HashmapConfigurationImpl()
          ctor
HashmapConfigurationImpl(String[][] parameters)
           
 
Method Summary
 Map<String,String> getAll()
          all
 Object getObject(String name)
          get an object by name
 String getParameter(String name)
          get a parameter by name
 void setParameter(String name, String value)
           
 
Methods inherited from class com.khubla.pragmatach.framework.configuration.BaseConfiguration
resolveObject, resolveString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashmapConfigurationImpl

public HashmapConfigurationImpl()
ctor


HashmapConfigurationImpl

public HashmapConfigurationImpl(String[][] parameters)
Method Detail

getAll

public Map<String,String> getAll()
                          throws PragmatachException
Description copied from interface: Configuration
all

Throws:
PragmatachException

getObject

public Object getObject(String name)
                 throws PragmatachException
Description copied from interface: Configuration
get an object by name

Throws:
PragmatachException

getParameter

public String getParameter(String name)
                    throws PragmatachException
Description copied from interface: Configuration
get a parameter by name

Throws:
PragmatachException

setParameter

public void setParameter(String name,
                         String value)


Copyright © 2014 khubla.com. All rights reserved.