java.lang.Object | |
↳ | com.atlassian.core.bean.EntityObject |
Common superclass for persistent entities: provides a long key, and creation/modification dates. Also provides a clock for testing.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Consult the clock to get the current date.
| |||||||||||
The clock is used to fool the entity into thinking that the current time is different
to what it actually is.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Consult the clock to get the current date.
The clock is used to fool the entity into thinking that the current time is different to what it actually is. Used in tests so we get consistent results with time-based activities.