Skip navigation links
A C D E F G H I L M N O P R S T V W 

A

addChild(Step) - Method in class org.onlab.stc.Group
Adds the specified step or group as a child of this group.
addListener(StepProcessListener) - Method in class org.onlab.stc.Coordinator
Adds the specified listener.

C

children() - Method in class org.onlab.stc.Group
Returns the set of child steps and groups contained within this group.
closeAll() - Static method in class org.onlab.stc.MonitorWebSocketServlet
Closes all currently open monitor web-sockets.
command - Variable in class org.onlab.stc.Step
 
command() - Method in class org.onlab.stc.Step
Returns the step command string.
command() - Method in class org.onlab.stc.StepEvent
Returns the step command.
compile() - Method in class org.onlab.stc.Compiler
Compiles the specified scenario to produce a final process flow graph.
Compiler - Class in org.onlab.stc
Entity responsible for loading a scenario and producing a redy-to-execute process flow graph.
Compiler(Scenario) - Constructor for class org.onlab.stc.Compiler
Creates a new compiler for the specified scenario.
Coordinator - Class in org.onlab.stc
Coordinates execution of a scenario process flow.
Coordinator(Scenario, ProcessFlow, File) - Constructor for class org.onlab.stc.Coordinator
Creates a process flow coordinator.
Coordinator.Directive - Enum in org.onlab.stc
Represents action to be taken on a test step.
Coordinator.Status - Enum in org.onlab.stc
Represents processor state.
cwd - Variable in class org.onlab.stc.Step
 
cwd() - Method in class org.onlab.stc.Step
Returns the step current working directory path.

D

definition() - Method in class org.onlab.stc.Scenario
Returns the scenario definition.
Dependency - Class in org.onlab.stc
Representation of a dependency from one step on completion of another.
Dependency(Step, Step, boolean) - Constructor for class org.onlab.stc.Dependency
Creates a new edge between the specified source and destination vertexes.
description() - Method in class org.onlab.stc.Scenario
Returns the scenario description.
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.onlab.stc.MonitorWebSocketServlet
 
doWebSocketConnect(HttpServletRequest, String) - Method in class org.onlab.stc.MonitorWebSocketServlet
 
duration() - Method in class org.onlab.stc.Coordinator
Returns number of milliseconds it took to execute.

E

env - Variable in class org.onlab.stc.Step
 
env() - Method in class org.onlab.stc.Step
Returns the step environment script path.
equals(Object) - Method in class org.onlab.stc.Dependency
 
equals(Object) - Method in class org.onlab.stc.Step
 

F

fromString(String) - Static method in class org.onlab.stc.StepEvent
Returns a record parsed from the specified string.

G

get(Step) - Method in class org.onlab.stc.MonitorLayout
Returns the bounding box for the specified step.
get(String) - Method in class org.onlab.stc.MonitorLayout
Returns the bounding box for the specified step name.
getStatus(Step) - Method in class org.onlab.stc.Coordinator
Returns the status record of the specified test step.
getStep(String) - Method in class org.onlab.stc.Compiler
Returns the step with the specified name.
getSteps() - Method in class org.onlab.stc.Coordinator
Returns set of all test steps.
Group - Class in org.onlab.stc
Represenation of a related group of steps.
Group(String, String, String, String, Group) - Constructor for class org.onlab.stc.Group
Creates a new test step.
group - Variable in class org.onlab.stc.Step
 
group() - Method in class org.onlab.stc.Step
Returns the enclosing group; null if none.

H

H_GAP - Static variable in class org.onlab.stc.MonitorLayout
 
hashCode() - Method in class org.onlab.stc.Dependency
 
hashCode() - Method in class org.onlab.stc.Step
 
HEIGHT - Static variable in class org.onlab.stc.MonitorLayout
 

I

init() - Method in class org.onlab.stc.MonitorWebSocketServlet
 
isSoft() - Method in class org.onlab.stc.Dependency
Indicates whether this is a soft or hard dependency, i.e.

L

loadScenario(HierarchicalConfiguration) - Static method in class org.onlab.stc.Scenario
Loads a new scenario from the specified hierarchical configuration.
loadScenario(InputStream) - Static method in class org.onlab.stc.Scenario
Loads a new scenario from the specified input stream.
logDir() - Method in class org.onlab.stc.Compiler
Returns the log directory where scenario logs should be kept.

M

Main - Class in org.onlab.stc
Main program for executing system test coordinator.
main(String[]) - Static method in class org.onlab.stc.Main
Main entry point for coordinating test scenario execution.
message(String, ObjectNode) - Method in class org.onlab.stc.MonitorWebSocket
 
Monitor - Class in org.onlab.stc
Scenario test monitor.
MonitorDelegate - Interface in org.onlab.stc
Delegate to which monitor can send notifications.
MonitorLayout - Class in org.onlab.stc
Computes scenario process flow layout for the Monitor GUI.
MonitorWebSocket - Class in org.onlab.stc
Web socket capable of interacting with the STC monitor GUI.
MonitorWebSocketServlet - Class in org.onlab.stc
Web socket servlet capable of creating web sockets for the STC monitor.
MonitorWebSocketServlet() - Constructor for class org.onlab.stc.MonitorWebSocketServlet
 

N

name() - Method in class org.onlab.stc.Scenario
Returns the scenario name.
name - Variable in class org.onlab.stc.Step
 
name() - Method in class org.onlab.stc.Step
Returns the step name.
name() - Method in class org.onlab.stc.StepEvent
Returns the test step or test group name.
notify(ObjectNode) - Method in class org.onlab.stc.Monitor
Notifies the process monitor delegate with the specified event.
notify(ObjectNode) - Method in interface org.onlab.stc.MonitorDelegate
Issues JSON event to be sent to any connected monitor clients.
notify(ObjectNode) - Method in class org.onlab.stc.MonitorWebSocketServlet
 

O

onClose(int, String) - Method in class org.onlab.stc.MonitorWebSocket
 
onCompletion(Step, Coordinator.Status) - Method in class org.onlab.stc.Monitor
 
onCompletion(Step, Coordinator.Status) - Method in interface org.onlab.stc.StepProcessListener
Indicates that process step has completed.
onControl(byte, byte[], int, int) - Method in class org.onlab.stc.MonitorWebSocket
 
onMessage(String) - Method in class org.onlab.stc.MonitorWebSocket
 
onOpen(WebSocket.Connection) - Method in class org.onlab.stc.MonitorWebSocket
 
onOutput(Step, String) - Method in class org.onlab.stc.Monitor
 
onOutput(Step, String) - Method in interface org.onlab.stc.StepProcessListener
Notifies when a new line of output becomes available.
onStart(Step, String) - Method in class org.onlab.stc.Monitor
 
onStart(Step, String) - Method in interface org.onlab.stc.StepProcessListener
Indicates that process step has started.
org.onlab.stc - package org.onlab.stc
System Test Coordinator tool for modular scenario-based testing.

P

print(String, Object...) - Static method in class org.onlab.stc.Coordinator
Prints formatted output.
processFlow() - Method in class org.onlab.stc.Compiler
Returns the process flow generated from this scenario definition.
ProcessFlow - Class in org.onlab.stc
Graph representation of a test process flow.
ProcessFlow(Set<Step>, Set<Dependency>) - Constructor for class org.onlab.stc.ProcessFlow
Creates a graph comprising of the specified vertexes and edges.

R

removeListener(StepProcessListener) - Method in class org.onlab.stc.Coordinator
Removes the specified listener.
reset() - Method in class org.onlab.stc.Coordinator
Resets any previously accrued status and events.
reset(List<String>, List<String>) - Method in class org.onlab.stc.Coordinator
Resets all previously accrued status and events for steps that lie in the range between the steps or groups whose names match the specified patterns.

S

scenario() - Method in class org.onlab.stc.Compiler
Returns the scenario being compiled.
Scenario - Class in org.onlab.stc
Representation of a re-usable test scenario.
sendMessage(ObjectNode) - Method in class org.onlab.stc.MonitorWebSocket
 
setMonitor(Monitor) - Static method in class org.onlab.stc.MonitorWebSocketServlet
Binds the shared process flow monitor.
SLOT_WIDTH - Static variable in class org.onlab.stc.MonitorLayout
 
start() - Method in class org.onlab.stc.Coordinator
Starts execution of the process flow graph.
status() - Method in class org.onlab.stc.StepEvent
Returns the step completion status.
Step - Class in org.onlab.stc
Representation of a test step.
Step(String, String, String, String, Group) - Constructor for class org.onlab.stc.Step
Creates a new test step.
StepEvent - Class in org.onlab.stc
Represents an event of execution of a scenario step or group.
StepEvent(String, long, Coordinator.Status, String) - Constructor for class org.onlab.stc.StepEvent
Creates a new step record.
StepEvent(String, Coordinator.Status, String) - Constructor for class org.onlab.stc.StepEvent
Creates a new step record for non-running status.
StepProcessListener - Interface in org.onlab.stc
Entity capable of receiving notifications of process step execution events.

T

time() - Method in class org.onlab.stc.StepEvent
Returns the step event time.
toString() - Method in class org.onlab.stc.Dependency
 
toString() - Method in class org.onlab.stc.Step
 
toString() - Method in class org.onlab.stc.StepEvent
 

V

valueOf(String) - Static method in enum org.onlab.stc.Coordinator.Directive
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.onlab.stc.Coordinator.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.onlab.stc.Coordinator.Directive
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.onlab.stc.Coordinator.Status
Returns an array containing the constants of this enum type, in the order they are declared.

W

W_GAP - Static variable in class org.onlab.stc.MonitorLayout
 
waitFor() - Method in class org.onlab.stc.Coordinator
Wants for completion of the entire process flow.
WIDTH - Static variable in class org.onlab.stc.MonitorLayout
 
A C D E F G H I L M N O P R S T V W 
Skip navigation links

Copyright © 2015. All rights reserved.