- All Known Implementing Classes:
PreferencesConfigBuilderImpl
@API(status=STABLE,
since="1.0")
public interface PreferencesConfigInitialBuilder
Preferences based configuration node selection builder.- Since:
- 1.0
- Version:
- 1.0, 2025-05
- Author:
- (w) Iker Hernaez
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionofNode(Preferences preferences) Selects the specified preferences node.Selects the node for the package of the specified class on the system preferences tree.Selects the node with the specified path relative to the node for the package of the specified class on the system preferences tree.Selects the node with the specified path on the system preferences tree.Selects the system preferences tree root node.Selects the node for the package of the specified class on the user preferences tree.Selects the node with the specified path relative to the node for the package of the specified class on the user preferences tree.Selects the node with the specified path on the user preferences tree.Selects the user preferences tree root node.
-
Method Details
-
ofUserRoot
PreferencesConfigBuilder ofUserRoot()Selects the user preferences tree root node.- Returns:
- Next builder, for method chaining.
- See Also:
-
ofUser
Selects the node with the specified path on the user preferences tree.- Parameters:
path- The path of the configuration's preferences, relative to user preference tree's root node- Returns:
- Next builder, for method chaining.
- See Also:
-
ofUser
Selects the node for the package of the specified class on the user preferences tree.- Parameters:
clazz- The class which package use when calculating base node- Returns:
- Next builder, for method chaining.
- See Also:
-
ofUser
Selects the node with the specified path relative to the node for the package of the specified class on the user preferences tree.- Parameters:
clazz- The class which package use when calculating base nodepath- The path of the configuration's preferences, relative to base node- Returns:
- Next builder, for method chaining.
- See Also:
-
ofSystemRoot
PreferencesConfigBuilder ofSystemRoot()Selects the system preferences tree root node.- Returns:
- Next builder, for method chaining.
- See Also:
-
ofSystem
Selects the node with the specified path on the system preferences tree.- Parameters:
path- The path of the configuration's preferences, relative to root node.- Returns:
- Next builder, for method chaining.
- See Also:
-
ofSystem
Selects the node for the package of the specified class on the system preferences tree.- Parameters:
clazz- The class which package use when calculating base node.- Returns:
- Next builder, for method chaining.
- See Also:
-
ofSystem
Selects the node with the specified path relative to the node for the package of the specified class on the system preferences tree.- Parameters:
clazz- The class which package use when calculating base nodepath- The path of the configuration's preferences, relative to base node- Returns:
- Next builder, for method chaining.
- See Also:
-
ofNode
Selects the specified preferences node.- Parameters:
preferences- ThePreferencesnode to use.- Returns:
- Next builder, for method chaining.
-