java.lang.Object
io.micronaut.starter.feature.buildtools.maven.Property

public class Property extends Object
Represents a Maven property with a name and value. This class is used to define properties that can be used in Maven build configurations.
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Returns the name of the property.
      Returns:
      the property name, never null
    • getValue

      @NonNull public @NonNull String getValue()
      Returns the value of the property.
      Returns:
      the property value, never null
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • builder

      @NonNull public static @NonNull Property.Builder builder()
      Creates a new builder instance for constructing Property objects.
      Returns:
      a new Builder instance