Class NodeBuilder
- java.lang.Object
-
- org.eclipse.aether.internal.test.util.NodeBuilder
-
public class NodeBuilder extends Object
A builder to create dependency nodes for unit testing.
-
-
Constructor Summary
Constructors Constructor Description NodeBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeBuilder
artifactId(String artifactId)
DependencyNode
build()
NodeBuilder
context(String context)
NodeBuilder
ext(String ext)
NodeBuilder
groupId(String groupId)
NodeBuilder
optional(boolean optional)
NodeBuilder
properties(Map<String,String> properties)
NodeBuilder
range(String range)
NodeBuilder
reloc(String artifactId)
NodeBuilder
reloc(String groupId, String artifactId, String version)
NodeBuilder
scope(String scope)
NodeBuilder
version(String version)
-
-
-
Constructor Detail
-
NodeBuilder
public NodeBuilder()
-
-
Method Detail
-
artifactId
public NodeBuilder artifactId(String artifactId)
-
groupId
public NodeBuilder groupId(String groupId)
-
ext
public NodeBuilder ext(String ext)
-
version
public NodeBuilder version(String version)
-
range
public NodeBuilder range(String range)
-
scope
public NodeBuilder scope(String scope)
-
optional
public NodeBuilder optional(boolean optional)
-
context
public NodeBuilder context(String context)
-
reloc
public NodeBuilder reloc(String artifactId)
-
reloc
public NodeBuilder reloc(String groupId, String artifactId, String version)
-
properties
public NodeBuilder properties(Map<String,String> properties)
-
build
public DependencyNode build()
-
-