public class AnalysisData extends RawData
Contains parts that can be analysed. Each part has their own purpose.
Parts contain variables that can be added to. These variables are then analysed using the analysis method.
After being analysed the ReplaceMap can be retrieved for replacing placeholders on the server.html file.
Constructor and Description |
---|
AnalysisData() |
Modifier and Type | Method and Description |
---|---|
protected void |
analyse()
Subclasses should analyse the data added together.
|
ActivityPart |
getActivityPart() |
Map<String,Serializable> |
getAdditionalDataReplaceMap() |
List<RawData> |
getAllParts() |
CommandUsagePart |
getCommandUsagePart() |
GeolocationPart |
getGeolocationPart() |
JoinInfoPart |
getJoinInfoPart() |
KillPart |
getKillPart() |
String |
getPlanVersion() |
PlayerCountPart |
getPlayerCountPart() |
PlaytimePart |
getPlaytimePart() |
String |
getPluginsTabLayout() |
long |
getRefreshDate() |
TPSPart |
getTpsPart() |
WorldPart |
getWorldPart() |
String |
replacePluginsTabLayout() |
void |
setAdditionalDataReplaceMap(Map<String,Serializable> additionalDataReplaceMap) |
void |
setPlanVersion(String planVersion) |
void |
setPlayersTable(String playersTable) |
void |
setPluginsTabLayout(String pluginsTabLayout) |
void |
setRefreshDate(long refreshDate) |
addValue, addValues, analyseData, get, getReplaceMap, isAnalysed
public ActivityPart getActivityPart()
public CommandUsagePart getCommandUsagePart()
public GeolocationPart getGeolocationPart()
public JoinInfoPart getJoinInfoPart()
public KillPart getKillPart()
public PlayerCountPart getPlayerCountPart()
public PlaytimePart getPlaytimePart()
public TPSPart getTpsPart()
public WorldPart getWorldPart()
public String getPlanVersion()
public void setPlanVersion(String planVersion)
public String getPluginsTabLayout()
public void setPluginsTabLayout(String pluginsTabLayout)
public Map<String,Serializable> getAdditionalDataReplaceMap()
public void setAdditionalDataReplaceMap(Map<String,Serializable> additionalDataReplaceMap)
public void setPlayersTable(String playersTable)
protected void analyse()
RawData
Place-holders should be added to the replace map.
public String replacePluginsTabLayout()
public long getRefreshDate()
public void setRefreshDate(long refreshDate)
Copyright © 2017. All rights reserved.