| Modifier and Type | Method and Description |
|---|---|
Route |
Section.getNameAsRoute()
Returns the name of this section as a single-key route.
|
Route |
Section.getNameAsRoute()
Returns the name of this section as a single-key route.
|
Route |
Section.getRoute()
Returns the absolute route of this section (route to this section from the root
Section.getRoot()). |
Route |
Section.getRoute()
Returns the absolute route of this section (route to this section from the root
Section.getRoot()). |
Route |
Section.getSubRoute(Object key)
Returns sub-route for the specified key derived from this section's
route. |
Route |
Section.getSubRoute(Object key)
Returns sub-route for the specified key derived from this section's
route. |
| Modifier and Type | Method and Description |
|---|---|
Map<Route,Block<?>> |
Section.getRouteMappedBlocks(boolean deep)
Returns a complete map of route=block pairs; while not keeping any reference to this (or sub-) sections.
|
Map<Route,Block<?>> |
Section.getRouteMappedBlocks(boolean deep)
Returns a complete map of route=block pairs; while not keeping any reference to this (or sub-) sections.
|
Map<Route,Object> |
Section.getRouteMappedValues(boolean deep)
Returns a complete map of route=value pairs; while not keeping any reference to this (or sub-) sections.
|
Map<Route,Object> |
Section.getRouteMappedValues(boolean deep)
Returns a complete map of route=value pairs; while not keeping any reference to this (or sub-) sections.
|
Set<Route> |
Section.getRoutes(boolean deep)
Returns set of routes in this section; while not keeping any reference to this (or sub-) sections.
|
Set<Route> |
Section.getRoutes(boolean deep)
Returns set of routes in this section; while not keeping any reference to this (or sub-) sections.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Section.contains(Route route)
Returns whether this section contains anything at the given route.
|
boolean |
Section.contains(Route route)
Returns whether this section contains anything at the given route.
|
Section |
Section.createSection(Route route)
Creates sections along the whole route, including the route itself and returns the section created at the end (at
the route given).
|
Section |
Section.createSection(Route route)
Creates sections along the whole route, including the route itself and returns the section created at the end (at
the route given).
|
Object |
Section.get(Route route)
Returns the value of the block (the actual value - list, integer...) at the given route, or if it is a section,
the corresponding
Section instance. |
Object |
Section.get(Route route)
Returns the value of the block (the actual value - list, integer...) at the given route, or if it is a section,
the corresponding
Section instance. |
Object |
Section.get(Route route,
Object def)
Returns the value of the block (the actual value - list, integer...) at the given route, or if it is a section,
the corresponding
Section instance. |
Object |
Section.get(Route route,
Object def)
Returns the value of the block (the actual value - list, integer...) at the given route, or if it is a section,
the corresponding
Section instance. |
<T> T |
Section.getAs(Route route,
Class<T> clazz)
Returns the value of the block (the actual value) at the given route, or if it is a section, the corresponding
Section instance, in both cases cast to instance of the given class. |
<T> T |
Section.getAs(Route route,
Class<T> clazz)
Returns the value of the block (the actual value) at the given route, or if it is a section, the corresponding
Section instance, in both cases cast to instance of the given class. |
<T> T |
Section.getAs(Route route,
Class<T> clazz,
T def)
Returns the value of the block (the actual value) at the given route, or if it is a section, the corresponding
Section instance, in both cases cast to instance of the given class. |
<T> T |
Section.getAs(Route route,
Class<T> clazz,
T def)
Returns the value of the block (the actual value) at the given route, or if it is a section, the corresponding
Section instance, in both cases cast to instance of the given class. |
<T> Optional<T> |
Section.getAsOptional(Route route,
Class<T> clazz)
|
<T> Optional<T> |
Section.getAsOptional(Route route,
Class<T> clazz)
|
BigInteger |
Section.getBigInt(Route route)
Returns big integer at the given route.
|
BigInteger |
Section.getBigInt(Route route)
Returns big integer at the given route.
|
BigInteger |
Section.getBigInt(Route route,
BigInteger def)
Returns big integer at the given route.
|
BigInteger |
Section.getBigInt(Route route,
BigInteger def)
Returns big integer at the given route.
|
List<BigInteger> |
Section.getBigIntList(Route route)
Returns list of big integers at the given route.
|
List<BigInteger> |
Section.getBigIntList(Route route)
Returns list of big integers at the given route.
|
List<BigInteger> |
Section.getBigIntList(Route route,
List<BigInteger> def)
Returns list of big integers at the given route.
|
List<BigInteger> |
Section.getBigIntList(Route route,
List<BigInteger> def)
Returns list of big integers at the given route.
|
Block<?> |
Section.getBlock(Route route)
Returns the block encapsulated in the result of
Section.getOptionalBlock(Route). |
Block<?> |
Section.getBlock(Route route)
Returns the block encapsulated in the result of
Section.getOptionalBlock(Route). |
Boolean |
Section.getBoolean(Route route)
Returns boolean at the given route.
|
Boolean |
Section.getBoolean(Route route)
Returns boolean at the given route.
|
Boolean |
Section.getBoolean(Route route,
Boolean def)
Returns boolean at the given route.
|
Boolean |
Section.getBoolean(Route route,
Boolean def)
Returns boolean at the given route.
|
Byte |
Section.getByte(Route route)
Returns byte at the given route.
|
Byte |
Section.getByte(Route route)
Returns byte at the given route.
|
Byte |
Section.getByte(Route route,
Byte def)
Returns byte at the given route.
|
Byte |
Section.getByte(Route route,
Byte def)
Returns byte at the given route.
|
List<Byte> |
Section.getByteList(Route route)
Returns list of bytes at the given route.
|
List<Byte> |
Section.getByteList(Route route)
Returns list of bytes at the given route.
|
List<Byte> |
Section.getByteList(Route route,
List<Byte> def)
Returns list of bytes at the given route.
|
List<Byte> |
Section.getByteList(Route route,
List<Byte> def)
Returns list of bytes at the given route.
|
Double |
Section.getDouble(Route route)
Returns double at the given route.
|
Double |
Section.getDouble(Route route)
Returns double at the given route.
|
Double |
Section.getDouble(Route route,
Double def)
Returns double at the given route.
|
Double |
Section.getDouble(Route route,
Double def)
Returns double at the given route.
|
List<Double> |
Section.getDoubleList(Route route)
Returns list of doubles at the given route.
|
List<Double> |
Section.getDoubleList(Route route)
Returns list of doubles at the given route.
|
List<Double> |
Section.getDoubleList(Route route,
List<Double> def)
Returns list of doubles at the given route.
|
List<Double> |
Section.getDoubleList(Route route,
List<Double> def)
Returns list of doubles at the given route.
|
Float |
Section.getFloat(Route route)
Returns float at the given route.
|
Float |
Section.getFloat(Route route)
Returns float at the given route.
|
Float |
Section.getFloat(Route route,
Float def)
Returns float at the given route.
|
Float |
Section.getFloat(Route route,
Float def)
Returns float at the given route.
|
List<Float> |
Section.getFloatList(Route route)
Returns list of floats at the given route.
|
List<Float> |
Section.getFloatList(Route route)
Returns list of floats at the given route.
|
List<Float> |
Section.getFloatList(Route route,
List<Float> def)
Returns list of floats at the given route.
|
List<Float> |
Section.getFloatList(Route route,
List<Float> def)
Returns list of floats at the given route.
|
Character |
Section.getChar(Route route)
Returns char at the given route.
|
Character |
Section.getChar(Route route)
Returns char at the given route.
|
Character |
Section.getChar(Route route,
Character def)
Returns char at the given route.
|
Character |
Section.getChar(Route route,
Character def)
Returns char at the given route.
|
Integer |
Section.getInt(Route route)
Returns integer at the given route.
|
Integer |
Section.getInt(Route route)
Returns integer at the given route.
|
Integer |
Section.getInt(Route route,
Integer def)
Returns integer at the given route.
|
Integer |
Section.getInt(Route route,
Integer def)
Returns integer at the given route.
|
List<Integer> |
Section.getIntList(Route route)
Returns list of integers at the given route.
|
List<Integer> |
Section.getIntList(Route route)
Returns list of integers at the given route.
|
List<Integer> |
Section.getIntList(Route route,
List<Integer> def)
Returns list of integers at the given route.
|
List<Integer> |
Section.getIntList(Route route,
List<Integer> def)
Returns list of integers at the given route.
|
List<?> |
Section.getList(Route route)
Returns list at the given route.
|
List<?> |
Section.getList(Route route)
Returns list at the given route.
|
List<?> |
Section.getList(Route route,
List<?> def)
Returns list at the given route.
|
List<?> |
Section.getList(Route route,
List<?> def)
Returns list at the given route.
|
Long |
Section.getLong(Route route)
Returns long at the given route.
|
Long |
Section.getLong(Route route)
Returns long at the given route.
|
Long |
Section.getLong(Route route,
Long def)
Returns long at the given route.
|
Long |
Section.getLong(Route route,
Long def)
Returns long at the given route.
|
List<Long> |
Section.getLongList(Route route)
Returns list of longs at the given route.
|
List<Long> |
Section.getLongList(Route route)
Returns list of longs at the given route.
|
List<Long> |
Section.getLongList(Route route,
List<Long> def)
Returns list of longs at the given route.
|
List<Long> |
Section.getLongList(Route route,
List<Long> def)
Returns list of longs at the given route.
|
List<Map<?,?>> |
Section.getMapList(Route route)
Returns list of maps at the given route.
|
List<Map<?,?>> |
Section.getMapList(Route route)
Returns list of maps at the given route.
|
List<Map<?,?>> |
Section.getMapList(Route route,
List<Map<?,?>> def)
Returns list of maps at the given route.
|
List<Map<?,?>> |
Section.getMapList(Route route,
List<Map<?,?>> def)
Returns list of maps at the given route.
|
Number |
Section.getNumber(Route route)
Returns number at the given route.
|
Number |
Section.getNumber(Route route)
Returns number at the given route.
|
Number |
Section.getNumber(Route route,
Number def)
Returns number at the given route.
|
Number |
Section.getNumber(Route route,
Number def)
Returns number at the given route.
|
Optional<Object> |
Section.getOptional(Route route)
|
Optional<Object> |
Section.getOptional(Route route)
|
Optional<BigInteger> |
Section.getOptionalBigInt(Route route)
Returns big integer at the given route encapsulated in an instance of
Optional. |
Optional<BigInteger> |
Section.getOptionalBigInt(Route route)
Returns big integer at the given route encapsulated in an instance of
Optional. |
Optional<List<BigInteger>> |
Section.getOptionalBigIntList(Route route)
Returns list of big integers at the given route encapsulated in an instance of
Optional. |
Optional<List<BigInteger>> |
Section.getOptionalBigIntList(Route route)
Returns list of big integers at the given route encapsulated in an instance of
Optional. |
Optional<Block<?>> |
Section.getOptionalBlock(Route route)
Returns block at the given route encapsulated in an instance of
Optional. |
Optional<Block<?>> |
Section.getOptionalBlock(Route route)
Returns block at the given route encapsulated in an instance of
Optional. |
Optional<Boolean> |
Section.getOptionalBoolean(Route route)
Returns boolean at the given route encapsulated in an instance of
Optional. |
Optional<Boolean> |
Section.getOptionalBoolean(Route route)
Returns boolean at the given route encapsulated in an instance of
Optional. |
Optional<Byte> |
Section.getOptionalByte(Route route)
Returns byte at the given route encapsulated in an instance of
Optional. |
Optional<Byte> |
Section.getOptionalByte(Route route)
Returns byte at the given route encapsulated in an instance of
Optional. |
Optional<List<Byte>> |
Section.getOptionalByteList(Route route)
Returns list of bytes at the given route encapsulated in an instance of
Optional. |
Optional<List<Byte>> |
Section.getOptionalByteList(Route route)
Returns list of bytes at the given route encapsulated in an instance of
Optional. |
Optional<Double> |
Section.getOptionalDouble(Route route)
Returns double at the given route encapsulated in an instance of
Optional. |
Optional<Double> |
Section.getOptionalDouble(Route route)
Returns double at the given route encapsulated in an instance of
Optional. |
Optional<List<Double>> |
Section.getOptionalDoubleList(Route route)
Returns list of doubles at the given route encapsulated in an instance of
Optional. |
Optional<List<Double>> |
Section.getOptionalDoubleList(Route route)
Returns list of doubles at the given route encapsulated in an instance of
Optional. |
Optional<Float> |
Section.getOptionalFloat(Route route)
Returns float at the given route encapsulated in an instance of
Optional. |
Optional<Float> |
Section.getOptionalFloat(Route route)
Returns float at the given route encapsulated in an instance of
Optional. |
Optional<List<Float>> |
Section.getOptionalFloatList(Route route)
Returns list of floats at the given route encapsulated in an instance of
Optional. |
Optional<List<Float>> |
Section.getOptionalFloatList(Route route)
Returns list of floats at the given route encapsulated in an instance of
Optional. |
Optional<Character> |
Section.getOptionalChar(Route route)
Returns char at the given route encapsulated in an instance of
Optional. |
Optional<Character> |
Section.getOptionalChar(Route route)
Returns char at the given route encapsulated in an instance of
Optional. |
Optional<Integer> |
Section.getOptionalInt(Route route)
Returns number at the given route encapsulated in an instance of
Optional. |
Optional<Integer> |
Section.getOptionalInt(Route route)
Returns number at the given route encapsulated in an instance of
Optional. |
Optional<List<Integer>> |
Section.getOptionalIntList(Route route)
Returns list of integers at the given route encapsulated in an instance of
Optional. |
Optional<List<Integer>> |
Section.getOptionalIntList(Route route)
Returns list of integers at the given route encapsulated in an instance of
Optional. |
Optional<List<?>> |
Section.getOptionalList(Route route)
Returns list at the given route encapsulated in an instance of
Optional. |
Optional<List<?>> |
Section.getOptionalList(Route route)
Returns list at the given route encapsulated in an instance of
Optional. |
Optional<Long> |
Section.getOptionalLong(Route route)
Returns long at the given route encapsulated in an instance of
Optional. |
Optional<Long> |
Section.getOptionalLong(Route route)
Returns long at the given route encapsulated in an instance of
Optional. |
Optional<List<Long>> |
Section.getOptionalLongList(Route route)
Returns list of longs at the given route encapsulated in an instance of
Optional. |
Optional<List<Long>> |
Section.getOptionalLongList(Route route)
Returns list of longs at the given route encapsulated in an instance of
Optional. |
Optional<List<Map<?,?>>> |
Section.getOptionalMapList(Route route)
Returns list of maps at the given route encapsulated in an instance of
Optional. |
Optional<List<Map<?,?>>> |
Section.getOptionalMapList(Route route)
Returns list of maps at the given route encapsulated in an instance of
Optional. |
Optional<Number> |
Section.getOptionalNumber(Route route)
Returns number at the given route encapsulated in an instance of
Optional. |
Optional<Number> |
Section.getOptionalNumber(Route route)
Returns number at the given route encapsulated in an instance of
Optional. |
Optional<Section> |
Section.getOptionalSection(Route route)
Returns section at the given route encapsulated in an instance of
Optional. |
Optional<Section> |
Section.getOptionalSection(Route route)
Returns section at the given route encapsulated in an instance of
Optional. |
Optional<Short> |
Section.getOptionalShort(Route route)
Returns short at the given route encapsulated in an instance of
Optional. |
Optional<Short> |
Section.getOptionalShort(Route route)
Returns short at the given route encapsulated in an instance of
Optional. |
Optional<List<Short>> |
Section.getOptionalShortList(Route route)
Returns list of shorts at the given route encapsulated in an instance of
Optional. |
Optional<List<Short>> |
Section.getOptionalShortList(Route route)
Returns list of shorts at the given route encapsulated in an instance of
Optional. |
Optional<String> |
Section.getOptionalString(Route route)
Returns string at the given route encapsulated in an instance of
Optional. |
Optional<String> |
Section.getOptionalString(Route route)
Returns string at the given route encapsulated in an instance of
Optional. |
Optional<List<String>> |
Section.getOptionalStringList(Route route)
Returns list of strings at the given route encapsulated in an instance of
Optional. |
Optional<List<String>> |
Section.getOptionalStringList(Route route)
Returns list of strings at the given route encapsulated in an instance of
Optional. |
Optional<Section> |
Section.getParent(Route route)
Returns section at the parent route of the given one, encapsulated in an instance of
Optional. |
Optional<Section> |
Section.getParent(Route route)
Returns section at the parent route of the given one, encapsulated in an instance of
Optional. |
Section |
Section.getSection(Route route)
Returns section at the given route.
|
Section |
Section.getSection(Route route)
Returns section at the given route.
|
Section |
Section.getSection(Route route,
Section def)
Returns section at the given route.
|
Section |
Section.getSection(Route route,
Section def)
Returns section at the given route.
|
Short |
Section.getShort(Route route)
Returns short at the given route.
|
Short |
Section.getShort(Route route)
Returns short at the given route.
|
Short |
Section.getShort(Route route,
Short def)
Returns short at the given route.
|
Short |
Section.getShort(Route route,
Short def)
Returns short at the given route.
|
List<Short> |
Section.getShortList(Route route)
Returns list of shorts at the given route.
|
List<Short> |
Section.getShortList(Route route)
Returns list of shorts at the given route.
|
List<Short> |
Section.getShortList(Route route,
List<Short> def)
Returns list of shorts at the given route.
|
List<Short> |
Section.getShortList(Route route,
List<Short> def)
Returns list of shorts at the given route.
|
String |
Section.getString(Route route)
Returns string at the given route.
|
String |
Section.getString(Route route)
Returns string at the given route.
|
String |
Section.getString(Route route,
String def)
Returns string at the given route.
|
String |
Section.getString(Route route,
String def)
Returns string at the given route.
|
List<String> |
Section.getStringList(Route route)
Returns list of strings at the given route.
|
List<String> |
Section.getStringList(Route route)
Returns list of strings at the given route.
|
List<String> |
Section.getStringList(Route route,
List<String> def)
Returns list of strings at the given route.
|
List<String> |
Section.getStringList(Route route,
List<String> def)
Returns list of strings at the given route.
|
<T> boolean |
Section.is(Route route,
Class<T> clazz)
Returns
true if and only value (list, integer... or Section) at the given route exists, and
it is an instance of the given class. |
<T> boolean |
Section.is(Route route,
Class<T> clazz)
Returns
true if and only value (list, integer... or Section) at the given route exists, and
it is an instance of the given class. |
boolean |
Section.isBigInt(Route route)
Returns
true if and only a value at the given route exists, and it is a BigInteger. |
boolean |
Section.isBigInt(Route route)
Returns
true if and only a value at the given route exists, and it is a BigInteger. |
boolean |
Section.isBoolean(Route route)
Returns
true if and only a value at the given route exists, and it is a Boolean (or the
primitive variant). |
boolean |
Section.isBoolean(Route route)
Returns
true if and only a value at the given route exists, and it is a Boolean (or the
primitive variant). |
boolean |
Section.isByte(Route route)
Returns
true if and only a value at the given route exists, and it is a Byte (or the
primitive variant). |
boolean |
Section.isByte(Route route)
Returns
true if and only a value at the given route exists, and it is a Byte (or the
primitive variant). |
boolean |
Section.isDecimal(Route route)
|
boolean |
Section.isDecimal(Route route)
|
boolean |
Section.isDouble(Route route)
Returns
true if and only a value at the given route exists, and it is a Double (or the
primitive variant). |
boolean |
Section.isDouble(Route route)
Returns
true if and only a value at the given route exists, and it is a Double (or the
primitive variant). |
boolean |
Section.isFloat(Route route)
Returns
true if and only a value at the given route exists, and it is a Float (or the
primitive variant). |
boolean |
Section.isFloat(Route route)
Returns
true if and only a value at the given route exists, and it is a Float (or the
primitive variant). |
boolean |
Section.isChar(Route route)
Returns
true if and only a value at the given route exists, and it is a Character, or any
other compatible type defined by Section.getOptionalChar(Route). |
boolean |
Section.isChar(Route route)
Returns
true if and only a value at the given route exists, and it is a Character, or any
other compatible type defined by Section.getOptionalChar(Route). |
boolean |
Section.isInt(Route route)
Returns
true if and only a value at the given route exists, and it is an Integer (or the
primitive variant). |
boolean |
Section.isInt(Route route)
Returns
true if and only a value at the given route exists, and it is an Integer (or the
primitive variant). |
boolean |
Section.isList(Route route)
Returns
true if and only a value at the given route exists, and it is a List. |
boolean |
Section.isList(Route route)
Returns
true if and only a value at the given route exists, and it is a List. |
boolean |
Section.isLong(Route route)
Returns
true if and only a value at the given route exists, and it is a Long (or the
primitive variant). |
boolean |
Section.isLong(Route route)
Returns
true if and only a value at the given route exists, and it is a Long (or the
primitive variant). |
boolean |
Section.isNumber(Route route)
Returns
true if and only a value at the given route exists, and it is an Number. |
boolean |
Section.isNumber(Route route)
Returns
true if and only a value at the given route exists, and it is an Number. |
boolean |
Section.isSection(Route route)
Returns
true if and only a value at the given route exists, and it is a Section. |
boolean |
Section.isSection(Route route)
Returns
true if and only a value at the given route exists, and it is a Section. |
boolean |
Section.isShort(Route route)
Returns
true if and only a value at the given route exists, and it is a Short (or the
primitive variant). |
boolean |
Section.isShort(Route route)
Returns
true if and only a value at the given route exists, and it is a Short (or the
primitive variant). |
boolean |
Section.isString(Route route)
Returns
true if and only a value at the given route exists, and it is a String. |
boolean |
Section.isString(Route route)
Returns
true if and only a value at the given route exists, and it is a String. |
boolean |
Section.remove(Route route)
Removes entry at the given route (if any); returns
true if successfully removed. |
boolean |
Section.remove(Route route)
Removes entry at the given route (if any); returns
true if successfully removed. |
void |
Section.set(Route route,
Object value)
Sets the given value at the given route in this section - overwrites the already existing value (if any).
|
void |
Section.set(Route route,
Object value)
Sets the given value at the given route in this section - overwrites the already existing value (if any).
|
| Constructor and Description |
|---|
Section(YamlDocument root,
Section parent,
Route route,
Block<?> previous,
Map<?,?> mappings)
Creates a section using the given relatives, previous block and mappings.
|
Section(YamlDocument root,
Section parent,
Route route,
Block<?> previous,
Map<?,?> mappings)
Creates a section using the given relatives, previous block and mappings.
|
Section(YamlDocument root,
Section parent,
Route route,
org.snakeyaml.engine.v2.nodes.Node keyNode,
org.snakeyaml.engine.v2.nodes.MappingNode valueNode,
ExtendedConstructor constructor)
Creates a section using the given relatives, nodes and constructor, which is used to retrieve the actual Java
representations of nodes (and sub-nodes).
|
Section(YamlDocument root,
Section parent,
Route route,
org.snakeyaml.engine.v2.nodes.Node keyNode,
org.snakeyaml.engine.v2.nodes.MappingNode valueNode,
ExtendedConstructor constructor)
Creates a section using the given relatives, nodes and constructor, which is used to retrieve the actual Java
representations of nodes (and sub-nodes).
|
| Constructor and Description |
|---|
AutomaticVersioning(Pattern pattern,
Route route)
Creates automatically supplied versioning information.
|
AutomaticVersioning(Pattern pattern,
Route route)
Creates automatically supplied versioning information.
|
| Modifier and Type | Method and Description |
|---|---|
Route |
Route.add(Object key)
Creates a new route, copies this route's backing array, adds the given key at the end and returns the new route
created from the new array.
|
Route |
Route.add(Object key)
Creates a new route, copies this route's backing array, adds the given key at the end and returns the new route
created from the new array.
|
static Route |
Route.addTo(Route route,
Object key)
Performs the same operation on the given route as
add(Object) (and returns the result); if the
given route is null, creates and returns a single-key route containing only the given key. |
static Route |
Route.addTo(Route route,
Object key)
Performs the same operation on the given route as
add(Object) (and returns the result); if the
given route is null, creates and returns a single-key route containing only the given key. |
Route |
RouteFactory.create(String route)
Constructs a route from the given string route, by splitting it by the factory's separator.
|
Route |
RouteFactory.create(String route)
Constructs a route from the given string route, by splitting it by the factory's separator.
|
static Route |
Route.from(Object... route)
Constructs route from the given array of keys/key arguments, enabling usage of wide-range data types as keys.
|
static Route |
Route.from(Object... route)
Constructs route from the given array of keys/key arguments, enabling usage of wide-range data types as keys.
|
static Route |
Route.from(Object key)
Constructs route from the given single key, enabling usage of wide-range data types as keys.
|
static Route |
Route.from(Object key)
Constructs route from the given single key, enabling usage of wide-range data types as keys.
|
static Route |
Route.fromSingleKey(Object key)
Constructs route from the given single key, enabling usage of wide-range data types as keys.
|
static Route |
Route.fromSingleKey(Object key)
Constructs route from the given single key, enabling usage of wide-range data types as keys.
|
static Route |
Route.fromString(String route)
Constructs a route from the given string route, by splitting it by
GeneralSettings.DEFAULT_ROUTE_SEPARATOR. |
static Route |
Route.fromString(String route)
Constructs a route from the given string route, by splitting it by
GeneralSettings.DEFAULT_ROUTE_SEPARATOR. |
static Route |
Route.fromString(String route,
char separator)
Constructs a route from the given string route, by splitting it by the given separator.
|
static Route |
Route.fromString(String route,
char separator)
Constructs a route from the given string route, by splitting it by the given separator.
|
static Route |
Route.fromString(String route,
RouteFactory routeFactory)
Constructs a route from the given string route, by splitting it by separator supplied by the factory.
|
static Route |
Route.fromString(String route,
RouteFactory routeFactory)
Constructs a route from the given string route, by splitting it by separator supplied by the factory.
|
Route |
Route.parent()
Returns the parent route of this one.
|
Route |
Route.parent()
Returns the parent route of this one.
|
| Modifier and Type | Method and Description |
|---|---|
static Route |
Route.addTo(Route route,
Object key)
Performs the same operation on the given route as
add(Object) (and returns the result); if the
given route is null, creates and returns a single-key route containing only the given key. |
static Route |
Route.addTo(Route route,
Object key)
Performs the same operation on the given route as
add(Object) (and returns the result); if the
given route is null, creates and returns a single-key route containing only the given key. |
| Modifier and Type | Class and Description |
|---|---|
class |
MultiKeyRoute
Represents a multi-key route.
|
class |
SingleKeyRoute
Represents a single-key route.
|
| Modifier and Type | Method and Description |
|---|---|
Route |
MultiKeyRoute.add(Object key) |
Route |
SingleKeyRoute.add(Object key) |
Route |
SingleKeyRoute.add(Object key) |
Route |
MultiKeyRoute.add(Object key) |
Route |
MultiKeyRoute.parent() |
Route |
SingleKeyRoute.parent() |
Route |
SingleKeyRoute.parent() |
Route |
MultiKeyRoute.parent() |
| Modifier and Type | Method and Description |
|---|---|
Set<Route> |
UpdaterSettings.getIgnoredRoutes(String versionId,
char separator)
Returns which blocks (represented by their routes) to ignore (including their contents) while updating to the
specified version ID.
|
Set<Route> |
UpdaterSettings.getIgnoredRoutes(String versionId,
char separator)
Returns which blocks (represented by their routes) to ignore (including their contents) while updating to the
specified version ID.
|
Map<Route,Route> |
UpdaterSettings.getRelocations(String versionId,
char separator)
Returns relocations (in
from route = to route format) that took effect at the given version ID. |
Map<Route,Route> |
UpdaterSettings.getRelocations(String versionId,
char separator)
Returns relocations (in
from route = to route format) that took effect at the given version ID. |
Map<Route,Route> |
UpdaterSettings.getRelocations(String versionId,
char separator)
Returns relocations (in
from route = to route format) that took effect at the given version ID. |
Map<Route,Route> |
UpdaterSettings.getRelocations(String versionId,
char separator)
Returns relocations (in
from route = to route format) that took effect at the given version ID. |
| Modifier and Type | Method and Description |
|---|---|
UpdaterSettings.Builder |
UpdaterSettings.Builder.setVersioning(Pattern pattern,
Route route)
Sets versioning information.
|
UpdaterSettings.Builder |
UpdaterSettings.Builder.setVersioning(Pattern pattern,
Route route)
Sets versioning information.
|
| Modifier and Type | Method and Description |
|---|---|
UpdaterSettings.Builder |
UpdaterSettings.Builder.setIgnoredRoutes(Map<String,Set<Route>> routes)
Sets which blocks (represented by their routes) to ignore (including their contents) while updating to a
certain version ID.
|
UpdaterSettings.Builder |
UpdaterSettings.Builder.setIgnoredRoutes(Map<String,Set<Route>> routes)
Sets which blocks (represented by their routes) to ignore (including their contents) while updating to a
certain version ID.
|
UpdaterSettings.Builder |
UpdaterSettings.Builder.setIgnoredRoutes(String versionId,
Set<Route> routes)
Sets which blocks (represented by their routes) to ignore (including their contents) while updating to the
specified version ID.
|
UpdaterSettings.Builder |
UpdaterSettings.Builder.setIgnoredRoutes(String versionId,
Set<Route> routes)
Sets which blocks (represented by their routes) to ignore (including their contents) while updating to the
specified version ID.
|
UpdaterSettings.Builder |
UpdaterSettings.Builder.setRelocations(Map<String,Map<Route,Route>> relocations)
Sets relocations (in
from route = to route format) per version ID, at which they took place. |
UpdaterSettings.Builder |
UpdaterSettings.Builder.setRelocations(Map<String,Map<Route,Route>> relocations)
Sets relocations (in
from route = to route format) per version ID, at which they took place. |
UpdaterSettings.Builder |
UpdaterSettings.Builder.setRelocations(Map<String,Map<Route,Route>> relocations)
Sets relocations (in
from route = to route format) per version ID, at which they took place. |
UpdaterSettings.Builder |
UpdaterSettings.Builder.setRelocations(Map<String,Map<Route,Route>> relocations)
Sets relocations (in
from route = to route format) per version ID, at which they took place. |
UpdaterSettings.Builder |
UpdaterSettings.Builder.setRelocations(String versionId,
Map<Route,Route> relocations)
Sets relocations (in
from route = to route format) that took effect at the given version ID. |
UpdaterSettings.Builder |
UpdaterSettings.Builder.setRelocations(String versionId,
Map<Route,Route> relocations)
Sets relocations (in
from route = to route format) that took effect at the given version ID. |
UpdaterSettings.Builder |
UpdaterSettings.Builder.setRelocations(String versionId,
Map<Route,Route> relocations)
Sets relocations (in
from route = to route format) that took effect at the given version ID. |
UpdaterSettings.Builder |
UpdaterSettings.Builder.setRelocations(String versionId,
Map<Route,Route> relocations)
Sets relocations (in
from route = to route format) that took effect at the given version ID. |
Copyright © 2022. All rights reserved.