public class DataRequestHandler extends Object
Constructor and Description |
---|
DataRequestHandler(Plan plugin)
Class Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkIfAnalysisIsCached()
Checks if the AnalysisData is cached.
|
boolean |
checkIfCached(UUID uuid)
Checks if the Players data is in the inspect cache.
|
String |
getAnalysisHtml()
Returns the analysis.html as string with replaced placeholders.
|
String |
getInspectHtml(UUID uuid)
Returns the player.html as string with replaced placeholders.
|
public DataRequestHandler(Plan plugin)
plugin
- Current instance of Planpublic boolean checkIfCached(UUID uuid)
uuid
- UUID of Playerpublic String getInspectHtml(UUID uuid)
uuid
- UUID of player, whose UserData is used to replace
placeholders withpublic String getAnalysisHtml()
public boolean checkIfAnalysisIsCached()
Copyright © 2017. All rights reserved.