Class ServerFileLoader
java.lang.Object
com.djrapitops.plan.identification.storage.ServerFileLoader
- All Implemented Interfaces:
ServerLoader
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ServerFileLoader
@Inject public ServerFileLoader(@Named("currentVersion") String currentVersion, PlanFiles files, PlanConfig config)
-
-
Method Details
-
load
Description copied from interface:ServerLoader
Load the server information.- Specified by:
load
in 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:ServerLoader
Save the server information.- Specified by:
save
in interfaceServerLoader
- Parameters:
server
- Information to save.
-
equals
-
hashCode
public int hashCode()
-