Package io.openems.common
Class OpenemsConstants
java.lang.Object
io.openems.common.OpenemsConstants
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final SemanticVersion
The complete version as a SemanticVersion.static final String
The version development branch.static final String
The version development build time.static final String
The version development commit hash.static final short
The major version of OpenEMS.static final short
The minor version of OpenEMS.static final short
The patch version of OpenEMS.static final String
The additional version string. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final String
Gets the path of the OpenEMS Data Directory, configured by "openems.data.dir" command line parameter.
-
Field Details
-
VERSION_MAJOR
public static final short VERSION_MAJORThe major version of OpenEMS.This is the year of the release.
- See Also:
-
VERSION_MINOR
public static final short VERSION_MINORThe minor version of OpenEMS.This is the month of the release.
- See Also:
-
VERSION_PATCH
public static final short VERSION_PATCHThe patch version of OpenEMS.This is always `0` for OpenEMS open source releases and reserved for private distributions.
- See Also:
-
VERSION_STRING
The additional version string.- See Also:
-
VERSION
The complete version as a SemanticVersion.Use toString()-method to get something like "2022.1.0-SNAPSHOT"
-
VERSION_DEV_BRANCH
The version development branch.- See Also:
-
VERSION_DEV_COMMIT
The version development commit hash.- See Also:
-
VERSION_DEV_BUILD_TIME
The version development build time.- See Also:
-
PROPERTY_COMPONENT_ID
- See Also:
-
PROPERTY_OSGI_COMPONENT_ID
- See Also:
-
PROPERTY_OSGI_COMPONENT_NAME
- See Also:
-
PROPERTY_PID
- See Also:
-
PROPERTY_FACTORY_PID
- See Also:
-
PROPERTY_LAST_CHANGE_BY
- See Also:
-
PROPERTY_LAST_CHANGE_AT
- See Also:
-
-
Constructor Details
-
OpenemsConstants
public OpenemsConstants()
-
-
Method Details
-
getOpenemsDataDir
Gets the path of the OpenEMS Data Directory, configured by "openems.data.dir" command line parameter.- Returns:
- the path of the OpenEMS Data Directory
-