public abstract class ExternalDependencyFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected MapNotationParser |
mapNotationParser |
protected PackagePathResolver |
packagePathResolver |
| Constructor and Description |
|---|
ExternalDependencyFactory() |
| 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.
|
boolean |
canRecognize(java.io.File rootDir) |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
extractNotations(ResolvedDependency parent,
java.io.File rootDir,
java.lang.String configuration) |
abstract java.lang.String |
identityFileName()
Relative paths of the identity file.
|
GolangDependencySet |
produce(ResolvedDependency resolvedDependency,
java.io.File rootDir,
java.lang.String configuration) |
@Inject protected MapNotationParser mapNotationParser
@Inject protected PackagePathResolver packagePathResolver
public abstract java.lang.String identityFileName()
public GolangDependencySet produce(ResolvedDependency resolvedDependency, java.io.File rootDir, java.lang.String configuration)
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> extractNotations(ResolvedDependency parent, java.io.File rootDir, java.lang.String configuration)
public boolean canRecognize(java.io.File rootDir)
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)