Interface ServerLoader
- All Known Implementing Classes:
AtomicServerLoader
,ServerDBLoader
,ServerFileLoader
public interface ServerLoader
Interface for operating on server information.
-
Method Summary
-
Method Details
-
load
Load the server information.- Parameters:
serverUUID
- UUID of the server, null if not known- Returns:
- Optional of the saved information or empty if it has not been stored.
- Throws:
EnableException
- When the loading fails
-
save
Save the server information.- Parameters:
information
- Information to save.- Throws:
EnableException
- When the saving fails
-