Class ImmutableBinaryMavenProtocPlugin

All Implemented Interfaces:
ProtocPlugin

@Generated(from="BinaryMavenProtocPlugin", generator="Immutables") @Generated("org.immutables.processor.ProxyProcessor") public final class ImmutableBinaryMavenProtocPlugin extends BinaryMavenProtocPlugin
Immutable implementation of BinaryMavenProtocPlugin.

Use the builder to create immutable instances: ImmutableBinaryMavenProtocPlugin.builder().

  • Method Details

    • getOptions

      public @Nullable String getOptions()
      Returns:
      The value of the options attribute
    • getOutputDirectory

      public @Nullable Path getOutputDirectory()
      Returns:
      The value of the outputDirectory attribute
    • isRegisterAsCompilationRoot

      public @Nullable Boolean isRegisterAsCompilationRoot()
      Returns:
      The value of the registerAsCompilationRoot attribute
    • getOrder

      public int getOrder()
      Returns:
      The value of the order attribute
    • isSkip

      public boolean isSkip()
      Returns:
      The value of the skip attribute
    • getGroupId

      public @Nullable String getGroupId()
      Specified by:
      getGroupId in class MavenArtifact
      Returns:
      The value of the groupId attribute
    • getArtifactId

      public @Nullable String getArtifactId()
      Specified by:
      getArtifactId in class MavenArtifact
      Returns:
      The value of the artifactId attribute
    • getType

      public @Nullable String getType()
      Specified by:
      getType in class MavenArtifact
      Returns:
      The value of the type attribute
    • getClassifier

      public @Nullable String getClassifier()
      Specified by:
      getClassifier in class MavenArtifact
      Returns:
      The value of the classifier attribute
    • getVersion

      public @NonNull @Nullable String getVersion()
      Specified by:
      getVersion in class BinaryMavenProtocPlugin
      Returns:
      The value of the version attribute
    • equals

      public boolean equals(@Nullable Object another)
      This instance is equal to all instances of ImmutableBinaryMavenProtocPlugin that have equal attribute values.
      Overrides:
      equals in class Object
      Returns:
      true if this is equal to another instance
    • hashCode

      public int hashCode()
      Computes a hash code from attributes: options, outputDirectory, registerAsCompilationRoot, order, skip, groupId, artifactId, type, classifier, version.
      Overrides:
      hashCode in class Object
      Returns:
      hashCode value
    • builder

      Creates a builder for ImmutableBinaryMavenProtocPlugin.
      ImmutableBinaryMavenProtocPlugin.builder()
         .options(String | null) // nullable options
         .outputDirectory(java.nio.file.Path | null) // nullable outputDirectory
         .registerAsCompilationRoot(Boolean | null) // nullable registerAsCompilationRoot
         .order(int) // optional order
         .skip(boolean) // optional skip
         .groupId(String | null) // nullable groupId
         .artifactId(String | null) // nullable artifactId
         .type(String | null) // nullable type
         .classifier(String | null) // nullable classifier
         .version(String | null) // nullable version
         .build();
      
      Returns:
      A new ImmutableBinaryMavenProtocPlugin builder