Examples of unit()


Examples of nl.topicus.onderwijs.dashboard.modules.DataSourceSettings.unit()

        .getObject()) {
      DataSourceSettings settings = DataSourceAnnotationReader
          .getSettings(curDataSource);
      conversions.add(settings.conversion());
      htmlClasses.add(settings.htmlClass());
      units.add(settings.unit());
    }
    ObjectMapper mapper = new ObjectMapper();
    try {
      options.put("conversion", mapper.writeValueAsString(conversions));
      options.put("htmlClasses", mapper.writeValueAsString(htmlClasses));
View Full Code Here

Examples of nl.topicus.onderwijs.dashboard.modules.DataSourceSettings.unit()

    this.key = key.getSimpleName();
    DataSourceSettings settings = DataSourceAnnotationReader
        .getSettings(key);
    this.label = settings.label();
    if (settings.unit().length() > 0)
      this.label += " (" + settings.unit() + ")";
    this.scheme = scheme;
  }

  public String getKey() {
    return key;
View Full Code Here

Examples of nl.topicus.onderwijs.dashboard.modules.ServiceConfiguration.unit()

        ServiceConfiguration config = curRetriever.getClass()
            .getAnnotation(ServiceConfiguration.class);
        if (config.runInRandomMode()
            || application.getMode() == DashboardMode.LiveData) {
          timer.scheduleWithFixedDelay(new TimerTask(curRetriever),
              0, config.interval(), config.unit());
        }
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.