Graphene Implementation 1.0.0.CR3

org.jboss.arquillian.ajocado.waiting.conversion
Class PassOnConvertor<T>

java.lang.Object
  extended by org.jboss.arquillian.ajocado.waiting.conversion.PassOnConvertor<T>
Type Parameters:
T - the type, which we want to pass
All Implemented Interfaces:
Convertor<T,T>

public class PassOnConvertor<T>
extends Object
implements Convertor<T,T>

Simple convertor which actually doesn't convert method, but it is passing it directly.

Version:
$Revision$
Author:
Lukas Fryc

Constructor Summary
PassOnConvertor()
           
 
Method Summary
 T backwardConversion(T object)
          Pass the object
 T forwardConversion(T object)
          Pass the object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassOnConvertor

public PassOnConvertor()
Method Detail

forwardConversion

public T forwardConversion(T object)
Pass the object

Specified by:
forwardConversion in interface Convertor<T,T>
Parameters:
object - the object to pass
Returns:
the exactly same object as given

backwardConversion

public T backwardConversion(T object)
Pass the object

Specified by:
backwardConversion in interface Convertor<T,T>
Parameters:
object - the object to pass
Returns:
the exactly same object as given

Graphene Implementation 1.0.0.CR3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.