Package org.olat.core

Examples of org.olat.core.Version


  }

  private void fillBuildInfoTab(VelocityContainer myBuildinfo) {
    List<Map> properties = new LinkedList<Map>();
    Map<String, String> m = new HashMap<String, String>();
    Version v = (Version) CoreSpringFactory.getBean("org.olat.core.Version");
    m.put("key", "Version");
    m.put("value", v.getFullVersion());
    properties.add(m);
   
    m = new HashMap<String, String>();
    m.put("key", "isClusterMode");
    m.put("value", String.valueOf(CoordinatorManager.getCoordinator().isClusterMode()));
View Full Code Here


  public String getInstanceID() {
    return WebappHelper.getInstanceId();
  }

  public String getVersion() {
    Version v = (Version)CoreSpringFactory.getBean("org.olat.core.Version");
    return v.getVersion();
  }
View Full Code Here

    Version v = (Version)CoreSpringFactory.getBean("org.olat.core.Version");
    return v.getVersion();
  }

  public String getBuild() {
    Version v = (Version)CoreSpringFactory.getBean("org.olat.core.Version");
    return v.getBuild();
  }
View Full Code Here

    String ressourceMapperUri = ClassPathStaticDispatcher.getInstance().getMapperBasePath(this.getClass());
    footerVC.contextPut("ressourceMapperUri", ressourceMapperUri);

    // Push brasato framework number to velocity
    Version version = (Version) CoreSpringFactory.getBean("org.olat.core.Version");
    footerVC.contextPut("appName", version.getApplicationName());
    String nodeInfo = (!CoordinatorManager.getCoordinator().isClusterMode()) ? "" : (", N"+CoordinatorManager.getCoordinator().getNodeId());
    footerVC.contextPut("fullVersion", version.getFullVersion() + nodeInfo);

    // Push information about AJAX mode
    boolean ajaxOn = false;
    if (ureq.getUserSession().isAuthenticated()) {
      ajaxOn = Windows.getWindows(ureq).getWindowManager()
View Full Code Here

TOP

Related Classes of org.olat.core.Version

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.