org.axway.grapes.server.core.reports
Class DependencyReport

java.lang.Object
  extended by com.yammer.dropwizard.views.View
      extended by org.axway.grapes.server.core.reports.DependencyReport

public class DependencyReport
extends com.yammer.dropwizard.views.View

Dependency Report

This class has been design to provide a quick feedback about module dependencies.

Author:
jdcoffre

Constructor Summary
DependencyReport(String title)
           
 
Method Summary
 void addDependency(Dependency dependency, String lastRelease)
           
 void addShouldNotUse(String gavc)
           
 List<Dependency> getDependencies()
           
 List<Dependency> getDependencies(Artifact target, String version)
           
 List<Artifact> getDependencyTargets()
           
 String getLastVersion(Artifact artifact)
           
 int getNbEntry(Artifact artifact)
           
 String getTitle()
           
 List<String> getVersions(Artifact target)
           
 int shouldNotBeUsed(String gavc)
          Return 1 if the targeted artifact has the flag "DO_NOT_USE" otherwise 0
 
Methods inherited from class com.yammer.dropwizard.views.View
getCharset, getTemplateName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependencyReport

public DependencyReport(String title)
Method Detail

getDependencies

public List<Dependency> getDependencies()

getTitle

public String getTitle()

addDependency

public void addDependency(Dependency dependency,
                          String lastRelease)

getDependencyTargets

public List<Artifact> getDependencyTargets()

getVersions

public List<String> getVersions(Artifact target)

getLastVersion

public String getLastVersion(Artifact artifact)

getNbEntry

public int getNbEntry(Artifact artifact)

getDependencies

public List<Dependency> getDependencies(Artifact target,
                                        String version)

addShouldNotUse

public void addShouldNotUse(String gavc)

shouldNotBeUsed

public int shouldNotBeUsed(String gavc)
Return 1 if the targeted artifact has the flag "DO_NOT_USE" otherwise 0

Parameters:
gavc -
Returns:
int


Copyright © 2014. All Rights Reserved.