public class TPBuilderImpl extends java.lang.Object implements TPBuilder
| Constructor and Description |
|---|
TPBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(org.joda.time.DateTime t,
ChangeEvent ce) |
void |
addEventNow(ChangeEvent ce) |
TokenProgression |
create() |
static TokenProgression |
generateSimplifiedAGG(java.util.Collection<TokenProgression> collection,
boolean relative) |
boolean |
hasActualEvents() |
boolean |
isComplete() |
boolean |
isEndSet() |
boolean |
isStartSet() |
void |
setEnd(org.joda.time.DateTime t) |
void |
setStart(org.joda.time.DateTime t) |
public static TokenProgression generateSimplifiedAGG(java.util.Collection<TokenProgression> collection, boolean relative)
public void setStart(org.joda.time.DateTime t)
public boolean isStartSet()
isStartSet in interface TPBuilderpublic void addEvent(org.joda.time.DateTime t,
ChangeEvent ce)
public void addEventNow(ChangeEvent ce)
addEventNow in interface TPBuilderpublic boolean hasActualEvents()
hasActualEvents in interface TPBuilderpublic boolean isComplete()
isComplete in interface Builder<TokenProgression>public TokenProgression create()
create in interface Builder<TokenProgression>