public abstract class ExternalDependencyFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected MapNotationParser |
mapNotationParser |
| Constructor and Description |
|---|
ExternalDependencyFactory(MapNotationParser mapNotationParser) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
adapt(java.io.File file) |
protected java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
adaptTest(java.io.File identityFile)
In most cases, this method won't be used because all we need is build dependencies of
external package.
|
protected abstract java.lang.String |
identityFileName()
Relative paths of the identity file.
|
java.util.Optional<GolangDependencySet> |
produce(java.io.File rootDir,
Configuration configuration) |
protected final MapNotationParser mapNotationParser
public ExternalDependencyFactory(MapNotationParser mapNotationParser)
protected abstract java.lang.String identityFileName()
public java.util.Optional<GolangDependencySet> produce(java.io.File rootDir, Configuration configuration)
protected java.util.List<java.util.Map<java.lang.String,java.lang.Object>> adaptTest(java.io.File identityFile)
identityFile - the identity fileprotected abstract java.util.List<java.util.Map<java.lang.String,java.lang.Object>> adapt(java.io.File file)