public class JoinInfoPart extends RawData
Placeholder values can be retrieved using the get method.
Contains following placeholders after analyzed: ${playersAverage} - (Number) ${playersNewAverage} - (Number)
${playersDay} - (Number) ${playersWeek} - (Number) ${playersMonth} - (Number) ${playersAverageDay} - (Number) ${playersAverageWeek} - (Number) ${playersAverageMonth} - (Number) ${playersNewDay} - (Number) ${playersNewWeek} - (Number) ${playersNewMonth} - (Number) ${playersNewAverageDay} - (Number) ${playersNewAverageWeek} - (Number) ${playersNewAverageMonth} - (Number)
Constructor and Description |
---|
JoinInfoPart() |
Modifier and Type | Method and Description |
---|---|
void |
addActiveSessions(Map<UUID,Session> activeSessions) |
void |
addRegistered(Map<UUID,Long> registerDates) |
void |
addRegistered(UUID uuid,
long registerDate) |
void |
addSessions(Map<UUID,List<Session>> sessions) |
void |
addSessions(UUID uuid,
List<Session> sessions) |
void |
addToLoginTimes() |
void |
addToLoginTimes(int amount) |
void |
analyse()
Subclasses should analyse the data added together.
|
List<Session> |
getAllSessions() |
long |
getLoginTimes() |
Map<UUID,Long> |
getRegistered() |
List<Long> |
getRegisteredList() |
Map<UUID,List<Session>> |
getSessions() |
addValue, addValues, analyseData, get, getReplaceMap, isAnalysed
public void analyse()
RawData
Place-holders should be added to the replace map.
public void addToLoginTimes()
public void addToLoginTimes(int amount)
public long getLoginTimes()
public void addRegistered(UUID uuid, long registerDate)
Copyright © 2017. All rights reserved.