Class MavenConfig
- java.lang.Object
-
- software.amazon.smithy.build.model.MavenConfig
-
- All Implemented Interfaces:
ToSmithyBuilder<MavenConfig>
public final class MavenConfig extends java.lang.Object implements ToSmithyBuilder<MavenConfig>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MavenConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MavenConfig.Builder
builder()
boolean
equals(java.lang.Object obj)
static MavenConfig
fromNode(Node node)
java.util.Set<java.lang.String>
getDependencies()
Gets the dependencies.java.util.Set<MavenRepository>
getRepositories()
Gets the repositories.int
hashCode()
MavenConfig
merge(MavenConfig other)
MavenConfig.Builder
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
-
-
-
Method Detail
-
fromNode
public static MavenConfig fromNode(Node node)
-
builder
public static MavenConfig.Builder builder()
-
getRepositories
public java.util.Set<MavenRepository> getRepositories()
Gets the repositories.- Returns:
- Returns the repositories in an insertion ordered set.
-
getDependencies
public java.util.Set<java.lang.String> getDependencies()
Gets the dependencies.- Returns:
- Returns the dependencies in an insertion ordered set.
-
merge
public MavenConfig merge(MavenConfig other)
-
toBuilder
public MavenConfig.Builder toBuilder()
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<MavenConfig>
- Returns:
- a builder for type T
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-