org.spockframework.runtime.extension.builtin
Class TimeoutInterceptor

java.lang.Object
  extended by org.spockframework.runtime.extension.builtin.TimeoutInterceptor
All Implemented Interfaces:
IMethodInterceptor

public class TimeoutInterceptor
extends Object
implements IMethodInterceptor

Implementation of @Timeout.

Author:
Peter Niederwieser

Constructor Summary
TimeoutInterceptor(Timeout timeout)
           
 
Method Summary
 void intercept(IMethodInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeoutInterceptor

public TimeoutInterceptor(Timeout timeout)
Method Detail

intercept

public void intercept(IMethodInvocation invocation)
               throws Throwable
Specified by:
intercept in interface IMethodInterceptor
Throws:
Throwable


Copyright © 2010. All Rights Reserved.