Apache JMeter
2.0.1.20050615

org.apache.jmeter.reporters
Class ResultAction

java.lang.Object
  extended byorg.apache.jmeter.testelement.AbstractTestElement
      extended byorg.apache.jmeter.testelement.OnErrorTestElement
          extended byorg.apache.jmeter.reporters.ResultAction
All Implemented Interfaces:
Clearable, Cloneable, SampleListener, Serializable, TestElement

public class ResultAction
extends OnErrorTestElement
implements Serializable, SampleListener, Clearable

ResultAction - take action based on the status of the last Result

Version:
$Revision: 1.3 $ Last updated: $Date: 2004/03/30 18:08:09 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jmeter.testelement.OnErrorTestElement
ON_ERROR_ACTION, ON_ERROR_CONTINUE, ON_ERROR_STOPTEST, ON_ERROR_STOPTHREAD
 
Fields inherited from interface org.apache.jmeter.testelement.TestElement
ENABLED, GUI_CLASS, NAME, TEST_CLASS
 
Constructor Summary
ResultAction()
           
 
Method Summary
 void clear()
          Clears the current data of the object.
 void sampleOccurred(SampleEvent e)
          Examine the sample(s) and take appropriate action
 void sampleStarted(SampleEvent e)
          A sample has started.
 void sampleStopped(SampleEvent e)
          A sample has stopped.
 
Methods inherited from class org.apache.jmeter.testelement.OnErrorTestElement
getErrorAction, isContinue, isStopTest, isStopThread, setErrorAction
 
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addProperty, addTestElement, canRemove, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultAction

public ResultAction()
Method Detail

clear

public void clear()
Description copied from interface: Clearable
Clears the current data of the object.

Specified by:
clear in interface Clearable
Overrides:
clear in class AbstractTestElement

sampleOccurred

public void sampleOccurred(SampleEvent e)
Examine the sample(s) and take appropriate action

Specified by:
sampleOccurred in interface SampleListener
See Also:
SampleListener.sampleOccurred(org.apache.jmeter.samplers.SampleEvent)

sampleStarted

public void sampleStarted(SampleEvent e)
Description copied from interface: SampleListener
A sample has started.

Specified by:
sampleStarted in interface SampleListener

sampleStopped

public void sampleStopped(SampleEvent e)
Description copied from interface: SampleListener
A sample has stopped.

Specified by:
sampleStopped in interface SampleListener

Apache JMeter
2.0.1.20050615

Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.