Class VendorNotationDependency
- java.lang.Object
-
- com.github.blindpirate.gogradle.core.dependency.AbstractGolangDependency
-
- com.github.blindpirate.gogradle.core.dependency.AbstractNotationDependency
-
- com.github.blindpirate.gogradle.core.dependency.VendorNotationDependency
-
- All Implemented Interfaces:
GolangDependency,NotationDependency,GolangCloneable,java.io.Serializable,java.lang.Cloneable,org.gradle.api.artifacts.Dependency
public class VendorNotationDependency extends AbstractNotationDependency
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.github.blindpirate.gogradle.core.dependency.AbstractNotationDependency
AbstractNotationDependency.NoTransitivePredicate, AbstractNotationDependency.PropertiesExclusionPredicate
-
-
Field Summary
-
Fields inherited from class com.github.blindpirate.gogradle.core.dependency.AbstractNotationDependency
NO_TRANSITIVE_DEP_PREDICATE, transitiveDepExclusions, VERSION_KEY
-
Fields inherited from interface org.gradle.api.artifacts.Dependency
ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION
-
Fields inherited from interface com.github.blindpirate.gogradle.core.dependency.GolangDependency
ALL_DESCENDANTS, ONLY_CURRENT_FILES
-
-
Constructor Summary
Constructors Constructor Description VendorNotationDependency()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResolvedDependencydoResolve(ResolveContext context)booleanequals(java.lang.Object o)CacheScopegetCacheScope()Get cache scope of this dependency.NotationDependencygetHostNotationDependency()java.lang.StringgetVendorPath()java.lang.StringgetVersion()An unique identifier to locate a dependency, e.g., git commit id.inthashCode()voidsetHostNotationDependency(NotationDependency hostNotationDependency)voidsetVendorPath(java.lang.String vendorPath)-
Methods inherited from class com.github.blindpirate.gogradle.core.dependency.AbstractNotationDependency
clone, exclude, getTransitiveDepExclusions, hasBeenResolved, resolve, setTransitive
-
Methods inherited from class com.github.blindpirate.gogradle.core.dependency.AbstractGolangDependency
because, containsAllSubpackages, contentEquals, copy, getGroup, getName, getPackage, getReason, getSubpackages, isFirstLevel, setFirstLevel, setName, setPackage, setSubpackage, setSubpackage, setSubpackages, setSubpackages, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gradle.api.artifacts.Dependency
because, contentEquals, copy, getGroup, getReason
-
Methods inherited from interface com.github.blindpirate.gogradle.core.dependency.GolangDependency
getName, getPackage, getSubpackages, isFirstLevel
-
-
-
-
Method Detail
-
getVendorPath
public java.lang.String getVendorPath()
-
getHostNotationDependency
public NotationDependency getHostNotationDependency()
-
setHostNotationDependency
public void setHostNotationDependency(NotationDependency hostNotationDependency)
-
setVendorPath
public void setVendorPath(java.lang.String vendorPath)
-
doResolve
public ResolvedDependency doResolve(ResolveContext context)
- Specified by:
doResolvein classAbstractNotationDependency
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractNotationDependency
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractNotationDependency
-
getVersion
public java.lang.String getVersion()
Description copied from interface:GolangDependencyAn unique identifier to locate a dependency, e.g., git commit id.- Specified by:
getVersionin interfaceorg.gradle.api.artifacts.Dependency- Specified by:
getVersionin interfaceGolangDependency- Overrides:
getVersionin classAbstractGolangDependency- Returns:
- the version string
-
getCacheScope
public CacheScope getCacheScope()
Description copied from interface:GolangDependencyGet cache scope of this dependency.- Returns:
- the cache scope
-
-