org.axway.grapes.server.webapp.views
Class PromotionReportView

java.lang.Object
  extended by com.yammer.dropwizard.views.View
      extended by org.axway.grapes.server.webapp.views.PromotionReportView

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

Promotion Report View

This view handle the promotion report. It contains the dependencies that are not promoted.


Constructor Summary
PromotionReportView()
           
 
Method Summary
 void addDependencyPromotionReport(String moduleId, PromotionReportView report)
           
 void addDoNotUseArtifact(Artifact doNotUseArtifact)
           
 void addUnPromotedDependency(String dependencyId)
           
 Boolean canBePromoted()
           
 void compute()
           
 Set<String> getMisMatchModules()
           
 List<String> getMisMatchVersions(String moduleName)
           
 List<String> getPromotionPlan()
           
 List<PromotionReportView> getReportsWithDoNotUseArtifacts()
           
 Module getRootModule()
           
 PromotionReportView getTargetedDependencyReport(String moduleId)
           
 List<String> getUnPromotedDependencies()
           
 boolean isSnapshot()
           
 void setRootModule(Module rootModule)
           
 
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

PromotionReportView

public PromotionReportView()
Method Detail

getRootModule

public Module getRootModule()

setRootModule

public void setRootModule(Module rootModule)

addUnPromotedDependency

public void addUnPromotedDependency(String dependencyId)

getUnPromotedDependencies

public List<String> getUnPromotedDependencies()

addDependencyPromotionReport

public void addDependencyPromotionReport(String moduleId,
                                         PromotionReportView report)

getTargetedDependencyReport

public PromotionReportView getTargetedDependencyReport(String moduleId)

addDoNotUseArtifact

public void addDoNotUseArtifact(Artifact doNotUseArtifact)

getReportsWithDoNotUseArtifacts

public List<PromotionReportView> getReportsWithDoNotUseArtifacts()

canBePromoted

public Boolean canBePromoted()

isSnapshot

public boolean isSnapshot()

getMisMatchModules

public Set<String> getMisMatchModules()

getMisMatchVersions

public List<String> getMisMatchVersions(String moduleName)

compute

public void compute()

getPromotionPlan

public List<String> getPromotionPlan()


Copyright © 2014. All Rights Reserved.