com.atlassian.pageobjects.elements.mock.clock
Class PeriodicClock
java.lang.Object
com.atlassian.pageobjects.elements.mock.clock.PeriodicClock
- All Implemented Interfaces:
- Clock
@NotThreadSafe
public class PeriodicClock
- extends Object
- implements Clock
A Clock implementation that periodically increments the returned value.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeriodicClock
public PeriodicClock(long intitialValue,
long increment,
int periodLength)
PeriodicClock
public PeriodicClock(long increment,
int periodLength)
PeriodicClock
public PeriodicClock(long increment)
currentTime
public long currentTime()
- Specified by:
currentTime in interface Clock
Copyright © 2014 Atlassian. All rights reserved.