public class PlaytimePart extends RawData
Placeholder values can be retrieved using the get method.
Contains following placeholders after analyzed: ${playtimeTotal} - Formatted time amount
Constructor and Description |
---|
PlaytimePart() |
Modifier and Type | Method and Description |
---|---|
void |
addToPlaytime(long amount) |
void |
analyse()
Subclasses should analyse the data added together.
|
void |
setPlaytime24h(long playtime24h) |
void |
setPlaytime30d(long playtime30d) |
void |
setPlaytime7d(long playtime7d) |
void |
setTotalPlaytime(long totalPlaytime) |
addValue, addValues, analyseData, get, getReplaceMap, isAnalysed
public void analyse()
RawData
Place-holders should be added to the replace map.
public void addToPlaytime(long amount)
public void setTotalPlaytime(long totalPlaytime)
public void setPlaytime30d(long playtime30d)
public void setPlaytime7d(long playtime7d)
public void setPlaytime24h(long playtime24h)
Copyright © 2017. All rights reserved.