|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deptool.ProgressNotifier org.deptool.DefaultDependencyLocator
public class DefaultDependencyLocator
Field Summary |
---|
Fields inherited from class org.deptool.ProgressNotifier |
---|
currentState, progressListeners |
Constructor Summary | |
---|---|
DefaultDependencyLocator()
|
|
DefaultDependencyLocator(java.util.Collection<DependencySource> dependencySources)
|
|
DefaultDependencyLocator(java.util.HashSet<Dependency> dependencies)
|
Method Summary | |
---|---|
void |
addDependencies(java.util.HashSet<Dependency> newDependencies)
Adds dependencies on which this locator will operate |
java.util.Set<java.lang.String> |
getAllVersions(java.lang.String groupId,
java.lang.String artifactId)
returns all of the dependencies in a given group and named by the artifactId |
java.util.Set<java.lang.String> |
getArtifacts(java.lang.String groupId)
returns all the artifacts in a group |
java.lang.String |
getCurrentVersion(java.lang.String groupId,
java.lang.String artifactId)
returns the current version of a dependency in a given group and named by the artifactId |
java.util.Set<java.lang.String> |
getGroupIds()
returns all of the group ids |
java.util.Set<java.lang.String> |
search(java.lang.String search)
returns all groupId's of dependencies with either a groupId, artifactictId, or a version containing the specified search string |
Methods inherited from class org.deptool.ProgressNotifier |
---|
addProgressEventListener, fireProgressEvent, getCurrentProgress, removeProgressEventListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultDependencyLocator()
public DefaultDependencyLocator(java.util.Collection<DependencySource> dependencySources)
public DefaultDependencyLocator(java.util.HashSet<Dependency> dependencies)
Method Detail |
---|
public java.util.Set<java.lang.String> getGroupIds()
DependencyLocator
getGroupIds
in interface DependencyLocator
public java.util.Set<java.lang.String> getArtifacts(java.lang.String groupId)
DependencyLocator
getArtifacts
in interface DependencyLocator
public java.util.Set<java.lang.String> getAllVersions(java.lang.String groupId, java.lang.String artifactId)
DependencyLocator
getAllVersions
in interface DependencyLocator
public java.lang.String getCurrentVersion(java.lang.String groupId, java.lang.String artifactId)
DependencyLocator
getCurrentVersion
in interface DependencyLocator
public java.util.Set<java.lang.String> search(java.lang.String search)
DependencyLocator
search
in interface DependencyLocator
public void addDependencies(java.util.HashSet<Dependency> newDependencies)
DependencyLocator
addDependencies
in interface DependencyLocator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |