Class ServerFileLoader
java.lang.Object
com.djrapitops.plan.identification.storage.ServerFileLoader
- All Implemented Interfaces:
ServerLoader
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ServerFileLoader
@Inject public ServerFileLoader(@Named("currentVersion") String currentVersion, PlanFiles files, PlanConfig config)
-
-
Method Details
-
load
Description copied from interface:ServerLoaderLoad the server information.- Specified by:
loadin interfaceServerLoader- Parameters:
loaded- UUID of the server, null if not known- Returns:
- Optional of the saved information or empty if it has not been stored.
-
save
Description copied from interface:ServerLoaderSave the server information.- Specified by:
savein interfaceServerLoader- Parameters:
server- Information to save.
-
equals
-
hashCode
public int hashCode()
-