Package jmri
Interface Metadata
-
public interface Metadata
Meta data concerning the JMRI application.Meta data is static information concerning the JMRI application. This class provides a single container for listing and storing JMRI meta data.
This file is part of JMRI.JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringACTIVEPROFILEstatic java.lang.StringCOPYRIGHTstatic java.lang.StringJMRIVERCANONstatic java.lang.StringJMRIVERMAJORstatic java.lang.StringJMRIVERMINORstatic java.lang.StringJMRIVERSIONstatic java.lang.StringJMRIVERTESTstatic java.lang.StringJVMVENDORstatic java.lang.StringJVMVERSION
-
Method Summary
Static Methods Modifier and Type Method Description static java.lang.StringgetBySystemName(java.lang.String name)Return the value of the named meta data, or any valid system property.static java.lang.String[]getSystemNameArray()An array of known meta data names.static java.util.List<java.lang.String>getSystemNameList()Get the list of known meta-data names.
-
-
-
Field Detail
-
JMRIVERSION
static final java.lang.String JMRIVERSION
- See Also:
- Constant Field Values
-
JMRIVERCANON
static final java.lang.String JMRIVERCANON
- See Also:
- Constant Field Values
-
JMRIVERMAJOR
static final java.lang.String JMRIVERMAJOR
- See Also:
- Constant Field Values
-
JMRIVERMINOR
static final java.lang.String JMRIVERMINOR
- See Also:
- Constant Field Values
-
JMRIVERTEST
static final java.lang.String JMRIVERTEST
- See Also:
- Constant Field Values
-
JVMVERSION
static final java.lang.String JVMVERSION
- See Also:
- Constant Field Values
-
JVMVENDOR
static final java.lang.String JVMVENDOR
- See Also:
- Constant Field Values
-
ACTIVEPROFILE
static final java.lang.String ACTIVEPROFILE
- See Also:
- Constant Field Values
-
COPYRIGHT
static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBySystemName
static java.lang.String getBySystemName(java.lang.String name)
Return the value of the named meta data, or any valid system property.- Parameters:
name- name of meta data or property to return- Returns:
- String value of requested data or null
-
getSystemNameArray
static java.lang.String[] getSystemNameArray()
An array of known meta data names.- Returns:
- String[]
-
getSystemNameList
static java.util.List<java.lang.String> getSystemNameList()
Get the list of known meta-data names.- Returns:
- the list of names
-
-