mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-10 18:28:28 +01:00
Update Javadoc for MVConfig.
This commit is contained in:
parent
e5bb6bc23b
commit
c32b2a4b51
@ -36,7 +36,8 @@ public interface MVConfig {
|
|||||||
* Gets a property from the config.
|
* Gets a property from the config.
|
||||||
*
|
*
|
||||||
* @param name The name of the property.
|
* @param name The name of the property.
|
||||||
* @return The value of the property.
|
* @return A {@link Try} with the value of the property, otherwise a {@link Try.Failure} if there is no property by
|
||||||
|
* that name.
|
||||||
*/
|
*/
|
||||||
Try<Object> getProperty(String name);
|
Try<Object> getProperty(String name);
|
||||||
|
|
||||||
@ -45,7 +46,8 @@ public interface MVConfig {
|
|||||||
*
|
*
|
||||||
* @param name The name of the property.
|
* @param name The name of the property.
|
||||||
* @param value The value of the property.
|
* @param value The value of the property.
|
||||||
* @return True if the property was set successfully.
|
* @return An empty {@link Try} if the property was set successfully, otherwise a {@link Try.Failure} with the
|
||||||
|
* exception explaining why the property could not be set.
|
||||||
*/
|
*/
|
||||||
Try<Void> setProperty(String name, Object value);
|
Try<Void> setProperty(String name, Object value);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user