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

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

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

License List View

View that can either be displayed in HTML or serialized in JSON that contains a list of license

Author:
jdcoffre

Constructor Summary
LicenseListView(String title)
           
 
Method Summary
 void add(License license)
           
 void addAll(List<License> licenses)
           
 List<License> getLicenses()
           
 Table getTable()
          Generate a table that contains the dependencies information with the column that match the configured filters
 String getTitle()
           
 
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

LicenseListView

public LicenseListView(String title)
Method Detail

getTitle

public String getTitle()

add

public void add(License license)

addAll

public void addAll(List<License> licenses)

getLicenses

public List<License> getLicenses()

getTable

public Table getTable()
Generate a table that contains the dependencies information with the column that match the configured filters

Returns:
Table


Copyright © 2014. All Rights Reserved.