com.carrotsearch.ant.tasks.junit4.events
Class FailureEvent

java.lang.Object
  extended by com.carrotsearch.ant.tasks.junit4.events.FailureEvent
All Implemented Interfaces:
IDescribable, IEvent
Direct Known Subclasses:
SuiteFailureEvent, TestFailureEvent, TestIgnoredAssumptionEvent

public abstract class FailureEvent
extends Object
implements IDescribable

Generic serialized failure event.


Constructor Summary
FailureEvent(EventType type)
           
 
Method Summary
 Description getDescription()
           
 FailureMirror getFailure()
           
 EventType getType()
           
protected  void setFailure(Failure failure)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailureEvent

public FailureEvent(EventType type)
Method Detail

setFailure

protected void setFailure(Failure failure)

getFailure

public FailureMirror getFailure()

getDescription

public Description getDescription()
Specified by:
getDescription in interface IDescribable

getType

public EventType getType()
Specified by:
getType in interface IEvent


Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.