Package com.bobocode.bring.core.env.impl
Class ProfileSourceResolve
java.lang.Object
com.bobocode.bring.core.env.impl.ProfileSourceResolve
Class responsible for resolving profile sources using BringSourceLoader and BringSourceScanner.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BringSourceLoader
private final BringSourceScanner
-
Constructor Summary
ConstructorDescriptionInitializes ProfileSourceResolve with default BringSourceLoader and BringSourceScanner implementations. -
Method Summary
-
Field Details
-
bringSourceLoader
-
bringSourceScanner
-
-
Constructor Details
-
ProfileSourceResolve
public ProfileSourceResolve()Initializes ProfileSourceResolve with default BringSourceLoader and BringSourceScanner implementations.
-
-
Method Details
-
resolve
Resolves properties for a specific profile and type.- Parameters:
profileName
- The name of the profile to resolve.type
- The type of properties to resolve.- Returns:
- A map containing properties resolved for the specified profile and type.
-