ca.intelliware.amakihi.actor
Class Script
java.lang.Object
|
+--ca.intelliware.amakihi.actor.Script
- public class Script
- extends java.lang.Object
An object representation of an integration test script.
- Version:
- $Revision: 1.6 $
- Author:
- Intelliware Development
Constructor Summary |
protected |
Script(org.w3c.dom.Element script)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSD_NAMESPACE
public static final java.lang.String XSD_NAMESPACE
XSD_LOCATION
public static final java.lang.String XSD_LOCATION
Script
protected Script(org.w3c.dom.Element script)
createScripts
public static Script[] createScripts(org.w3c.dom.Document document)
Create an array of Scripts from an XML document. This
factory method scans the XML document for
<script>
tags.
- Parameters:
Document
- the input integration test XML document.- Returns:
- an array of Script objects.
getActions
public Script.Action[] getActions()
Get all actions within a script.
- Returns:
- an array of Actions.
getDescription
public java.lang.String getDescription()
getStoryId
public java.lang.String getStoryId()
getActorDefinition
public Script.ActorDefinition getActorDefinition(java.lang.String name)
Copyright 2002 Intelliware Development. All Rights Reserved.