org.mactor.framework.spec
Class GlobalConfig

java.lang.Object
  extended by org.mactor.framework.spec.GlobalConfig

public class GlobalConfig
extends java.lang.Object


Nested Class Summary
static class GlobalConfig.Group
           
 
Constructor Summary
GlobalConfig(org.dom4j.Document globalConfigDoc)
           
 
Method Summary
 java.lang.String asXML()
           
 GlobalConfig.Group getGroup(java.lang.String groupName)
           
 java.util.Map<java.lang.String,GlobalConfig.Group> getGroups()
           
 int getMaxNumberOfTestThreads()
           
 GlobalConfig.Group getRequieredGroup(java.lang.String groupName)
           
 java.lang.String getValue(java.lang.String valueName)
           
 java.util.Map<java.lang.String,java.lang.String> getValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalConfig

public GlobalConfig(org.dom4j.Document globalConfigDoc)
             throws MactorException
Throws:
MactorException
Method Detail

asXML

public java.lang.String asXML()

getValue

public java.lang.String getValue(java.lang.String valueName)

getGroup

public GlobalConfig.Group getGroup(java.lang.String groupName)

getRequieredGroup

public GlobalConfig.Group getRequieredGroup(java.lang.String groupName)
                                     throws ConfigException
Throws:
ConfigException

getValues

public java.util.Map<java.lang.String,java.lang.String> getValues()

getGroups

public java.util.Map<java.lang.String,GlobalConfig.Group> getGroups()

getMaxNumberOfTestThreads

public int getMaxNumberOfTestThreads()


Copyright © 2008. All Rights Reserved.