ConfigOrigin. ConfigOrigins are automatically created when you
call other API methods to get a ConfigValue or Config.
But you can also set the origin of an existing ConfigValue, using
ConfigValue#withOrigin(ConfigOrigin).
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ConfigOrigin | |
| public static ConfigOrigin | Returns: the default originReturns the default origin for values when no other information is provided. |
| public static ConfigOrigin | |
| public static ConfigOrigin |
| ConfigOriginFactory | back to summary |
|---|---|
| private ConfigOriginFactory() | |
| newFile | back to summary |
|---|---|
| public static ConfigOrigin newFile(String filename) Creates a file origin with the given filename.
| |
| newSimple | back to summary |
|---|---|
| public static ConfigOrigin newSimple() Returns the default origin for values when no other information is
provided. This is the origin used in
| |
| newSimple | back to summary |
|---|---|
| public static ConfigOrigin newSimple(String description) Returns an origin with the given description.
| |
| newURL | back to summary |
|---|---|
| public static ConfigOrigin newURL(URL url) Creates a url origin with the given URL object.
| |