java.lang.Object
org.microbean.loader.jackson.Configuration
A Java object that represents a tree-like configuration structure,
using Jackson mapping constructs to make things easier.
- Author:
- Laird Nelson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
boolean
int
hashCode()
Returns a hashcode for thisConfiguration
.final Qualifiers<? extends String,
?> Returns aQualifiers
representing all qualifiers in theConfiguration
.final Qualifiers<? extends String,
?> qualifiers
(Iterable<? extends String> names) Returns aQualifiers
representing all qualifiers in theConfiguration
associated with the supplied sequence of names.toString()
Returns aString
representation of thisConfiguration
.
-
Constructor Details
-
Configuration
public Configuration()Creates a newConfiguration
.
-
-
Method Details
-
qualifiers
Returns aQualifiers
representing all qualifiers in theConfiguration
.- Returns:
- a
Qualifiers
representing all qualifiers in theConfiguration
- Idempotency:
- This method is idempotent and deterministic.
- Nullability:
- This method never returns
null
. - Thread Safety:
- This method is not safe for concurrent use by multiple threads.
-
qualifiers
Returns aQualifiers
representing all qualifiers in theConfiguration
associated with the supplied sequence of names.- Parameters:
names
- a sequence of names identifying a path to the root of a tree of qualifiers; may benull
- Returns:
- a
Qualifiers
representing all qualifiers in theConfiguration
associated with the supplied sequence of names - Idempotency:
- This method is idempotent and deterministic.
- Nullability:
- This method never returns
null
. - Thread Safety:
- This method is not safe for concurrent use by multiple threads.
-
any
- Parameters:
name
- the name; must not benull
- Returns:
- the associated
Object
, ornull
- Idempotency:
- This method is idempotent and deterministic.
- Nullability:
- This method may return
null
. - Thread Safety:
- This method is not safe for concurrent use by multiple threads.
-
hashCode
Returns a hashcode for thisConfiguration
.- Overrides:
hashCode
in classObject
- Returns:
- a hashcode for this
Configuration
- Idempotency:
- This method is, and its overrides must be, idempotent and deterministic.
- Thread Safety:
- This method is not safe for concurrent use by multiple threads.
-
equals
- Overrides:
equals
in classObject
- Parameters:
other
- theObject
to test; may benull
- Returns:
true
if the suppliedObject
is equal to thisConfiguration
- Idempotency:
- This method is, and its overrides must be, idempotent and deterministic.
- Thread Safety:
- This method is not safe for concurrent use by multiple threads.
-
toString
Returns aString
representation of thisConfiguration
.The format of the returned
String
is deliberately undefined and subject to change between revisions of this class without notice.- Overrides:
toString
in classObject
- Returns:
- a
String
representation of thisConfiguration
- Idempotency:
- This method is, and its overrides must be, idempotent and deterministic.
- Nullability:
- This method does not, and its overrides must not,
return
null
. - Thread Safety:
- This method is not safe for concurrent use by multiple threads.
-