Package com.ultikits.ultitools.manager
Class ServerPropertiesManager.PropertiesSnapshot
java.lang.Object
com.ultikits.ultitools.manager.ServerPropertiesManager.PropertiesSnapshot
- Enclosing class:
ServerPropertiesManager
One typed read of
server.properties for the protocol 2.0.0 panel, as returned by
ServerPropertiesManager.readVersioned(int).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhyServerPropertiesManager.readVersioned(int)did or did not produce values. -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePropertiesSnapshot(ServerPropertiesManager.PropertiesSnapshot.Outcome outcome, Map<String, String> values, List<String> writable, String version) -
Method Summary
Modifier and TypeMethodDescriptionprivate static ServerPropertiesManager.PropertiesSnapshotprivate static ServerPropertiesManager.PropertiesSnapshotnotFound()private static ServerPropertiesManager.PropertiesSnapshotprivate static ServerPropertiesManager.PropertiesSnapshot
-
Field Details
-
outcome
-
values
-
writable
-
version
-
-
Constructor Details
-
PropertiesSnapshot
-
-
Method Details
-
ok
-
notFound
-
fileNotEditable
-
unreadable
-
getOutcome
- Returns:
- whether the read produced values, and if not, why
-
getValues
- Returns:
- the readable keys present in the file with their raw text values, in contract order
-
getWritable
- Returns:
- the writable key set the panel may offer as editable
-
getVersion
- Returns:
- the SHA-256 of the bytes the values were read from, or
nullwithout values
-