Class Profile
java.lang.Object
io.micronaut.projectgen.core.buildtools.maven.Profile
Represents a Maven profile.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActivationProperties(@Nullable Set<Property> activationProperties) Adds the specified activation properties to the existing set.voidaddDependencies(@Nullable Set<Dependency> dependencies) Adds the specified dependencies to the existing set.static Profile.Builderbuilder()boolean@Nullable Set<Dependency>@Nullable WritableReturns the extension used in the build plugin, if any.@NonNull StringgetId()inthashCode()
-
Constructor Details
-
Profile
-
-
Method Details
-
getId
- Returns:
- Profile ID
-
getExtension
Returns the extension used in the build plugin, if any.- Returns:
- the extension or
nullif not set
-
getActivationProperties
- Returns:
- Activation properties
-
getDependencies
- Returns:
- Dependencies
-
equals
-
hashCode
public int hashCode() -
builder
-
addActivationProperties
Adds the specified activation properties to the existing set. If the current set isnull, it will be initialized.- Parameters:
activationProperties- the activation properties to add, ornull
-
addDependencies
Adds the specified dependencies to the existing set. If the current set isnull, it will be initialized.- Parameters:
dependencies- the dependencies to add, ornull
-