Returns true if the object was stored, false
otherwise
set
defaultbooleanset(@NotNull
L lookup,
byte[] data,
boolean isUserInput)
Set an array of bytes in the configuration
Parameters:
lookup - - property lookup
data - - array of data to store
isUserInput - - if this call is by the user
Returns:
Returns true if the data was stored, false otherwise
set
booleanset(@NotNull
L lookup,
@NotNull
@NotNull InputStream in,
boolean isUserInput)
Set a property inside the configuration with the data read from the specified
InputStream.
Parameters:
lookup - - property lookup
in - - stream of data
isUserInput - - if this call is by the user
Returns:
Returns true if the data was stored, false otherwise
remove
booleanremove(@NotNull
L lookup,
boolean isUserInput)
Remove this property from the configuration
Parameters:
lookup - - property lookup
isUserInput - - if this call is by the user
Returns:
Returns true if the property with the specified
lookup was removed from the configuration
isUserModifiable
defaultbooleanisUserModifiable()
Check if this property can be modified by user input.
Returns:
Returns true if the user is allowed to modify this property.
false otherwise
checkUserInput
defaultvoidcheckUserInput(boolean user)
Method checks if this property is allowed to be modified by the user. If
user is true and isUserModifiable() is
false, this method will throw a UnmodifiablePropertyException
to stop further execution.