com.atlassian.pageobjects.elements.mock.clock
Class CompositeClock
java.lang.Object
com.atlassian.pageobjects.elements.mock.clock.CompositeClock
- All Implemented Interfaces:
- Clock
public class CompositeClock
- extends Object
- implements Clock
Composite clock that returns answer from one of the clocks it builds upon, depending on the number of times it
was called already.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeClock
public CompositeClock(Clock initialClock)
addClock
public CompositeClock addClock(int startFromCall,
Clock clock)
currentTime
public long currentTime()
- Specified by:
currentTime in interface Clock
Copyright © 2014 Atlassian. All rights reserved.