Class ImmutableMavenExclusion
java.lang.Object
io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenExclusion
- All Implemented Interfaces:
MavenExclusion
@Generated(from="MavenExclusion",
generator="Immutables")
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutableMavenExclusion
extends Object
implements MavenExclusion
Immutable implementation of
MavenExclusion.
Use the builder to create immutable instances:
ImmutableMavenExclusion.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableMavenExclusion. -
Field Summary
Fields inherited from interface MavenExclusion
WILDCARD -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableMavenExclusion.booleanThis instance is equal to all instances ofImmutableMavenExclusionthat have equal attribute values.@Nullable String@Nullable StringgetType()inthashCode()Computes a hash code from attributes:groupId,artifactId,classifier,type.toString()Prints the immutable valueMavenExclusionwith attribute values.
-
Method Details
-
getGroupId
- Specified by:
getGroupIdin interfaceMavenExclusion- Returns:
- The value of the
groupIdattribute
-
getArtifactId
- Specified by:
getArtifactIdin interfaceMavenExclusion- Returns:
- The value of the
artifactIdattribute
-
getClassifier
- Specified by:
getClassifierin interfaceMavenExclusion- Returns:
- The value of the
classifierattribute
-
getType
- Specified by:
getTypein interfaceMavenExclusion- Returns:
- The value of the
typeattribute
-
equals
-
hashCode
-
toString
-
builder
Creates a builder forImmutableMavenExclusion.ImmutableMavenExclusion.builder() .groupId(String | null) // nullable
groupId.artifactId(String | null) // nullableartifactId.classifier(String) // optionalclassifier.type(String) // optionaltype.build();- Returns:
- A new ImmutableMavenExclusion builder
-