com.atlassian.pageobjects
Class TestedProductFactory.SingletonTesterFactory<T extends Tester>

java.lang.Object
  extended by com.atlassian.pageobjects.TestedProductFactory.SingletonTesterFactory<T>
Type Parameters:
T - The tester type
All Implemented Interfaces:
TestedProductFactory.TesterFactory<T>
Enclosing class:
TestedProductFactory

public static class TestedProductFactory.SingletonTesterFactory<T extends Tester>
extends Object
implements TestedProductFactory.TesterFactory<T>

A factory that always returns the same Tester


Constructor Summary
TestedProductFactory.SingletonTesterFactory(T tester)
           
 
Method Summary
 T create()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestedProductFactory.SingletonTesterFactory

public TestedProductFactory.SingletonTesterFactory(T tester)
Method Detail

create

public T create()
Specified by:
create in interface TestedProductFactory.TesterFactory<T extends Tester>
Returns:
The tester instance to be used through the tested product


Copyright © 2014 Atlassian. All rights reserved.