Home | History | Annotate | Download | only in core
      1 /*******************************************************************************
      2  * Copyright (c) 2009, 2018 Mountainminds GmbH & Co. KG and Contributors
      3  * All rights reserved. This program and the accompanying materials
      4  * are made available under the terms of the Eclipse Public License v1.0
      5  * which accompanies this distribution, and is available at
      6  * http://www.eclipse.org/legal/epl-v10.html
      7  *
      8  * Contributors:
      9  *    Marc R. Hoffmann - initial API and implementation
     10  *
     11  *******************************************************************************/
     12 package org.jacoco.core;
     13 
     14 import java.util.ResourceBundle;
     15 
     16 /**
     17  * Static Meta information about JaCoCo.
     18  */
     19 public final class JaCoCo {
     20 
     21 	/** Qualified build version of the JaCoCo core library. */
     22 	public static final String VERSION;
     23 
     24 	/** Absolute URL of the current JaCoCo home page */
     25 	public static final String HOMEURL;
     26 
     27 	/** Name of the runtime package of this build */
     28 	public static final String RUNTIMEPACKAGE;
     29 
     30 	static {
     31 		final ResourceBundle bundle = ResourceBundle
     32 				.getBundle("org.jacoco.core.jacoco");
     33 		VERSION = bundle.getString("VERSION");
     34 		HOMEURL = bundle.getString("HOMEURL");
     35 		RUNTIMEPACKAGE = bundle.getString("RUNTIMEPACKAGE");
     36 	}
     37 
     38 	private JaCoCo() {
     39 	}
     40 
     41 }
     42