Record Class ProjectActivation.ProjectActivationSettings
java.lang.Object
java.lang.Record
org.apache.maven.execution.ProjectActivation.ProjectActivationSettings
- Record Components:
selector- the selector of a project, which can be the project directory, [groupId]:[artifactId] or :[artifactId]activationSettings- describes how/when to active or deactivate the project
- Enclosing class:
ProjectActivation
public static record ProjectActivation.ProjectActivationSettings(String selector, ActivationSettings activationSettings)
extends Record
ProjectActivationSettings
-
Constructor Summary
ConstructorsConstructorDescriptionProjectActivationSettings(String selector, ActivationSettings activationSettings) Creates an instance of aProjectActivationSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactivationSettingsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.selector()Returns the value of theselectorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProjectActivationSettings
Creates an instance of aProjectActivationSettingsrecord class.- Parameters:
selector- the value for theselectorrecord componentactivationSettings- the value for theactivationSettingsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
selector
-
activationSettings
Returns the value of theactivationSettingsrecord component.- Returns:
- the value of the
activationSettingsrecord component
-