Skip to content

Commit bea49b8

Browse files
committed
remove references to direct access in readme
1 parent 3b281ff commit bea49b8

1 file changed

Lines changed: 1 addition & 24 deletions

File tree

README.md

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Flexible and robust static access configuration api.
99

1010
## Features
1111

12-
- Static and dynamic config value access
12+
- Seamless static config value access
1313
- Use inbuilt or register custom type loading
1414
- Move config values with path relocations
1515
- Configurable config file backup system
@@ -291,15 +291,6 @@ override: true
291291
# OVERRIDE is set to true.
292292
```
293293

294-
#### @Manual
295-
296-
Used when you plan to directly read values from the config document,
297-
prevents the section from being touched by the unknown key remover.
298-
299-
If a field is a map, it is automatically marked as manual so its entries aren't removed.
300-
301-
Please see the `Direct Access` section below for more information.
302-
303294
### Final Members
304295

305296
If a field or class is marked final, its value is always reset in the config.
@@ -353,20 +344,6 @@ Backups can also be created manually through the config document.
353344
String fileName = config.getDocument().backup();
354345
```
355346

356-
### Direct Access
357-
358-
Direct access to values can be used for dynamically loaded functionality,
359-
make sure the section you are performing direct access on is marked `@Manual`.
360-
361-
```java
362-
@Manual
363-
public static class EXAMPLE { }
364-
```
365-
366-
```java
367-
config.getDocument().getBoolean("example.enabled");
368-
```
369-
370347
### Resolvers
371348

372349
Resolvers assign the provider used to load and save the static fields,

0 commit comments

Comments
 (0)