Class RuntimeComponent
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.RuntimeComponent
-
- All Implemented Interfaces:
IRuntimeComponent
- Direct Known Subclasses:
ArchivedRuntimeComponent
,LaunchableRuntimeComponent
public class RuntimeComponent extends Object implements IRuntimeComponent
Implementation ofIRuntimeComponent
.
-
-
Constructor Summary
Constructors Constructor Description RuntimeComponent(RuntimeInstallation installation, IRuntimeComponentType type)
Creates an instance ofRuntimeComponent
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuntimeInstallation
getInstallation()
Returns the owner 1C:Enterprise runtime installation instance.URI
getLocation()
Returns a location of this 1C:Enterprise runtime installation component.String
getName()
Returns a name of the 1C:Enterprise runtime installation component.IRuntimeComponentType
getType()
Returns the component type.
-
-
-
Constructor Detail
-
RuntimeComponent
public RuntimeComponent(RuntimeInstallation installation, IRuntimeComponentType type)
Creates an instance ofRuntimeComponent
.- Parameters:
installation
- the owner installation of 1C:Enterprise runtime, cannot benull
type
- the 1C:Enterprise runtime component type, cannot benull
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:IRuntimeComponent
Returns a name of the 1C:Enterprise runtime installation component. If component has no specific name it can return type name.- Specified by:
getName
in interfaceIRuntimeComponent
- Returns:
- the name of the 1C:Enterprise runtime installation component, never
null
-
getLocation
public URI getLocation()
Description copied from interface:IRuntimeComponent
Returns a location of this 1C:Enterprise runtime installation component. If component has no specific location it can return owner 1C:Enterprise runtime installation location.- Specified by:
getLocation
in interfaceIRuntimeComponent
- Returns:
- the location of the 1C:Enterprise runtime installation component, never
null
-
getType
public IRuntimeComponentType getType()
Description copied from interface:IRuntimeComponent
Returns the component type.- Specified by:
getType
in interfaceIRuntimeComponent
- Returns:
- the component type, never
null
- See Also:
IRuntimeComponentType
-
getInstallation
public RuntimeInstallation getInstallation()
Description copied from interface:IRuntimeComponent
Returns the owner 1C:Enterprise runtime installation instance.- Specified by:
getInstallation
in interfaceIRuntimeComponent
- Returns:
- the owner 1C:Enterprise runtime installation instance, never
null
-
-