Package nl.topicus.onderwijs.dashboard.keys

Examples of nl.topicus.onderwijs.dashboard.keys.Project


  private void getDataFromDataSource(Map<String, BarData> ret,
      Class<? extends DataSource<? extends Number>> datasourceType) {
    DashboardRepository repository = WicketApplication.get()
        .getRepository();

    Project project = getProject();

    Map<Key, ? extends DataSource<? extends Number>> data = repository
        .getData(datasourceType);
    DataSource<? extends Number> datasource = data.get(project);
View Full Code Here


  public void onConfigure(DashboardRepository repository) {
    Map<Key, Map<String, ?>> serviceSettings = getSettings()
        .getServiceSettings(HudsonService.class);
    for (Key key : serviceSettings.keySet()) {
      if (key instanceof Project) {
        Project project = (Project) key;
        repository.addDataSource(project, NumberOfUnitTests.class,
            new NumberOfUnitTestsImpl(project, this));
        repository.addDataSource(project, HudsonBuildStatus.class,
            new HudsonBuildStatusImpl(project, this));
        repository.addDataSource(project, HudsonBuildNumber.class,
View Full Code Here

          .getServiceSettings(HudsonService.class);
      for (Entry<Key, Map<String, ?>> entry : serviceSettings.entrySet()) {
        if (!(entry.getKey() instanceof Project))
          continue;

        Project project = (Project) entry.getKey();

        Map<String, ?> hudsonSettingsForProject = entry.getValue();

        String url = hudsonSettingsForProject.get("url").toString();
View Full Code Here

TOP

Related Classes of nl.topicus.onderwijs.dashboard.keys.Project

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.