Creates a file origin with the given filename.
Creates a file origin with the given filename.
the filename of this origin
a new origin
1.3.0
Returns an origin with the given description.
Returns an origin with the given description.
brief description of what the origin is
a new origin
1.3.0
Returns the default origin for values when no other information is provided.
Returns the default origin for values when no other information is provided. This is the origin used in ConfigValueFactory.fromAnyRef(Object).
the default origin
1.3.0
Creates a url origin with the given URL object.
Creates a url origin with the given URL object.
the url of this origin
a new origin
1.3.0
This class contains some static factory methods for building a 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).
1.3.0