Class Runtime
java.lang.Object
com._1c.g5.v8.dt.internal.platform.Runtime
- All Implemented Interfaces:
IRuntime
Implementation of
IRuntime
.-
Constructor Details
-
Runtime
Creates an instance ofRuntime
.- Parameters:
id
- the 1C:Enterprise runtime identifier, cannot benull
version
- the 1C:Enterprise runtime version, cannot benull
name
- the 1C:Enterprise runtime name, cannot benull
- Throws:
IllegalArgumentException
- Ifversion
is improperly formatted.
-
-
Method Details
-
getId
Description copied from interface:IRuntime
Returns this 1C:Enterprise runtime identifier. This corresponds to theid
attribute specified in the extension definition. -
getVersion
Description copied from interface:IRuntime
Returns this 1C:Enterprise runtime version. This corresponds to theversion
attribute specified in the extension definition, parsed intoVersion
.- Specified by:
getVersion
in interfaceIRuntime
- Returns:
- the 1C:Enterprise platform runtime version, never
null
-
getName
Description copied from interface:IRuntime
Returns this 1C:Enterprise runtime name (text presentation). This corresponds to thename
attribute specified in the extension definition. -
hashCode
public int hashCode() -
equals
-
toString
-