Class ImmutableMavenDependency
java.lang.Object
io.github.ascopes.protobufmavenplugin.dependencies.ImmutableMavenDependency
- All Implemented Interfaces:
- MavenArtifact, MavenDependency
@Generated(from="MavenDependency",
           generator="Immutables")
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutableMavenDependency
extends Object
implements MavenDependency
Immutable implementation of 
MavenDependency.
Use the builder to create immutable instances:
ImmutableMavenDependency.builder().
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableMavenDependency.
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableMavenDependency.booleanThis instance is equal to all instances ofImmutableMavenDependencythat have equal attribute values.@Nullable String@Nullable String@Nullable DependencyResolutionDepth@Nullable String@Nullable StringgetType()@Nullable StringinthashCode()Computes a hash code from attributes:groupId,artifactId,version,type,classifier,dependencyResolutionDepth,exclusions.toString()Prints the immutable valueMavenDependencywith attribute values.
- 
Method Details- 
getGroupId- Specified by:
- getGroupIdin interface- MavenArtifact
- Returns:
- The value of the groupIdattribute
 
- 
getArtifactId- Specified by:
- getArtifactIdin interface- MavenArtifact
- Returns:
- The value of the artifactIdattribute
 
- 
getVersion- Specified by:
- getVersionin interface- MavenArtifact
- Returns:
- The value of the versionattribute
 
- 
getType- Specified by:
- getTypein interface- MavenArtifact
- Returns:
- The value of the typeattribute
 
- 
getClassifier- Specified by:
- getClassifierin interface- MavenArtifact
- Returns:
- The value of the classifierattribute
 
- 
getDependencyResolutionDepth- Specified by:
- getDependencyResolutionDepthin interface- MavenDependency
- Returns:
- The value of the dependencyResolutionDepthattribute
 
- 
getExclusions- Specified by:
- getExclusionsin interface- MavenDependency
- Returns:
- The value of the exclusionsattribute
 
- 
equals
- 
hashCode
- 
toString
- 
builderCreates a builder forImmutableMavenDependency.ImmutableMavenDependency.builder() .groupId(String | null) // nullable groupId.artifactId(String | null) // nullableartifactId.version(String | null) // nullableversion.type(String | null) // nullabletype.classifier(String | null) // nullableclassifier.dependencyResolutionDepth(io.github.ascopes.protobufmavenplugin.dependencies.DependencyResolutionDepth | null) // nullabledependencyResolutionDepth.addExclusions|addAllExclusions(MavenExclusionBean) //exclusionselements .build();- Returns:
- A new ImmutableMavenDependency builder
 
 
-