Package com._1c.g5.v8.dt.platform
Interface IRuntimeRegistry
-
public interface IRuntimeRegistry
The workbench's global registry of 1C:Enterprise platform runtimes.This registry contains all registered 1C:Enterprise platform runtime extensions. 1C:Enterprise runtimes extensions are defined in
plugin.xml
.- See Also:
IRuntime
- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IRuntime
getRuntime(Version version)
Returns the 1C:Enterprise runtime extension with the specified version ornull
if it does not exist.IRuntime
getRuntime(String id)
Returns the 1C:Enterprise runtime extension with the specified identifier ornull
if it does not exist.Collection<IRuntime>
getRuntimes()
Returns all defined 1C:Enterprise runtimes extensions.
-
-
-
Method Detail
-
getRuntime
IRuntime getRuntime(String id)
Returns the 1C:Enterprise runtime extension with the specified identifier ornull
if it does not exist.- Parameters:
id
- the unique identifier for 1C:Enterprise runtime extension, cannot benull
- Returns:
- the 1C:Enterprise runtime extension with the specified id or
null
if it does not exist
-
getRuntime
IRuntime getRuntime(Version version)
Returns the 1C:Enterprise runtime extension with the specified version ornull
if it does not exist.- Parameters:
version
- the platform version of 1C:Enterprise runtime extension, cannot benull
- Returns:
- the 1C:Enterprise runtime extension with the specified version or
null
if it does not exist
-
getRuntimes
Collection<IRuntime> getRuntimes()
Returns all defined 1C:Enterprise runtimes extensions. Returned collection is unmodifiable.- Returns:
- a collection of all 1C:Enterprise runtimes extensions, never
null
-
-