org.mactor.framework.spec
Class TestSpec

java.lang.Object
  extended by org.mactor.framework.spec.SpecNode
      extended by org.mactor.framework.spec.ContainerSpec
          extended by org.mactor.framework.spec.TestSpec

public class TestSpec
extends ContainerSpec


Field Summary
 
Fields inherited from class org.mactor.framework.spec.SpecNode
name, parentNode
 
Constructor Summary
TestSpec()
           
 
Method Summary
 org.dom4j.Element addToElement(org.dom4j.Element e)
           
 java.lang.String asXML()
           
 SpecNode findSpecNode(java.lang.String nodeName)
           
 int getDelayBeforeStartSeconds()
           
 java.lang.String getDescription()
           
 java.lang.String getShortDescription()
           
 java.lang.String getType()
           
static TestSpec loadFromDocument(org.dom4j.Document doc, java.lang.String name)
           
static TestSpec loadFromFile(java.lang.String name)
           
 
Methods inherited from class org.mactor.framework.spec.ContainerSpec
addSpecNode, getSpecNodes, loadContainedNodes, writeContainedNodesToElement
 
Methods inherited from class org.mactor.framework.spec.SpecNode
getName, getParentNode, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSpec

public TestSpec()
Method Detail

getType

public java.lang.String getType()
Specified by:
getType in class SpecNode

asXML

public java.lang.String asXML()

getDelayBeforeStartSeconds

public int getDelayBeforeStartSeconds()

findSpecNode

public SpecNode findSpecNode(java.lang.String nodeName)

loadFromFile

public static TestSpec loadFromFile(java.lang.String name)
                             throws MactorException
Throws:
MactorException

loadFromDocument

public static TestSpec loadFromDocument(org.dom4j.Document doc,
                                        java.lang.String name)
                                 throws MactorException
Throws:
MactorException

addToElement

public org.dom4j.Element addToElement(org.dom4j.Element e)
Specified by:
addToElement in class SpecNode

getShortDescription

public java.lang.String getShortDescription()
Specified by:
getShortDescription in class SpecNode

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class SpecNode


Copyright © 2008. All Rights Reserved.