Interface IResolvableRuntimeInstallationManager
-
public interface IResolvableRuntimeInstallationManager
Manages resolvable 1C:Enterprise runtime installations.Can provide resolvable installations, serialize or deserialize them to
String
and get resolvable installation defaults for the 1C:Enterprise runtime type or infobase for initial selections.- See Also:
IResolvableRuntimeInstallation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IResolvableRuntimeInstallation
deserialize(String string)
Deserialize resolvable 1C:Enterprise runtime installation fromString
.Collection<IResolvableRuntimeInstallation>
getAll(String runtimeTypeId)
Returns the collection of all resolvable 1C:Enterprise runtime installations.Collection<IResolvableRuntimeInstallation>
getAll(String runtimeTypeId, org.eclipse.core.resources.IProject project, InfobaseReference infobase, InfobaseAccessType accessType)
Returns the collection of all resolvable 1C:Enterprise runtime installations.IResolvableRuntimeInstallation
getDefault(String runtimeTypeId, InfobaseReference infobase)
Returns the default resolvable 1C:Enterprise runtime installation for the given 1C:Enterprise runtime type.IResolvableRuntimeInstallation
getDefault(String runtimeTypeId, String versionMask)
Returns the default resolvable 1C:Enterprise runtime installation for the given 1C:Enterprise runtime type.IResolvableRuntimeInstallation
getDefault(String runtimeTypeId, org.eclipse.core.resources.IProject project, InfobaseReference infobase, InfobaseAccessType accessType)
Returns appropriate resolvable 1C:Enterprise runtime installation for the given 1C:Enterprise runtime type and infobase.String
serialize(IResolvableRuntimeInstallation resolvable)
Seralize resolvable 1C:Enterprise runtime installation toString
.
-
-
-
Method Detail
-
getAll
Collection<IResolvableRuntimeInstallation> getAll(String runtimeTypeId)
Returns the collection of all resolvable 1C:Enterprise runtime installations. Returned collection will be sorted.- Parameters:
runtimeTypeId
- the 1C:Enterprise runtime type id, cannot benull
- Returns:
- the collection of all resolvable 1C:Enterprise runtime installations, never
null
, can be empty
-
getAll
Collection<IResolvableRuntimeInstallation> getAll(String runtimeTypeId, org.eclipse.core.resources.IProject project, InfobaseReference infobase, InfobaseAccessType accessType)
Returns the collection of all resolvable 1C:Enterprise runtime installations. Returned collection will be sorted.Also checks infobase and
accessType
to get appropriate 1C:Enterprise runtime installations.- Parameters:
runtimeTypeId
- the 1C:Enterprise runtime type id, cannot benull
project
- the project to get all matching resolvable 1C:Enterprise runtime installations, cannot benull
infobase
- the infobase to get appropriate resolvable installation for ornull
if client has no information about infobaseaccessType
- the type of infobase access to get appropriate resolvable installation for, cannot benull
- Returns:
- the collection of all resolvable 1C:Enterprise runtime installations, never
null
, can be empty - See Also:
InfobaseAccessType
-
getDefault
IResolvableRuntimeInstallation getDefault(String runtimeTypeId, String versionMask)
Returns the default resolvable 1C:Enterprise runtime installation for the given 1C:Enterprise runtime type.Can return
null
if cannot get default resolvable installation.- Parameters:
runtimeTypeId
- the 1C:Enterprise runtime type id, cannot benull
versionMask
- the version mask of 1C:Enterprise runtime, can benull
if not needed- Returns:
- the resolvable 1C:Enterprise runtime installation or
null
if cannot get default resolvable installation - See Also:
VersionMask
-
getDefault
IResolvableRuntimeInstallation getDefault(String runtimeTypeId, InfobaseReference infobase)
Returns the default resolvable 1C:Enterprise runtime installation for the given 1C:Enterprise runtime type.Can return
null
if cannot get default resolvable installation.- Parameters:
runtimeTypeId
- the 1C:Enterprise runtime type id, cannot benull
infobase
- infobase to get appropriate resolvable installation, cannot benull
- Returns:
- the resolvable 1C:Enterprise runtime installation or
null
if cannot get default resolvable installation
-
getDefault
IResolvableRuntimeInstallation getDefault(String runtimeTypeId, org.eclipse.core.resources.IProject project, InfobaseReference infobase, InfobaseAccessType accessType)
Returns appropriate resolvable 1C:Enterprise runtime installation for the given 1C:Enterprise runtime type and infobase. Also checksaccessType
.Can return
null
if cannot find appropriate resolvable installation for the given infobase.- Parameters:
runtimeTypeId
- the 1C:Enterprise runtime type id, cannot benull
project
- the project to get all matching resolvable 1C:Enterprise runtime installations, cannot benull
infobase
- the infobase to get appropriate resolvable installation for, cannot benull
accessType
- the type of infobase access to get appropriate resolvable installation for, cannot benull
- Returns:
- the resolvable 1C:Enterprise runtime installation or
null
if cannot find appropriate resolvable installation for the given infobase - See Also:
InfobaseAccessType
-
serialize
String serialize(IResolvableRuntimeInstallation resolvable)
Seralize resolvable 1C:Enterprise runtime installation toString
.Can be used to store and load resolvable 1C:Enterprise runtime installation in preferences or launch configurations.
- Parameters:
resolvable
- the resolvable installation to serialize, cannot benull
- Returns:
- serialized resolvable 1C:Enterprise runtime installation, never
null
-
deserialize
IResolvableRuntimeInstallation deserialize(String string)
Deserialize resolvable 1C:Enterprise runtime installation fromString
.Can be used to store and load resolvable 1C:Enterprise runtime installation in preferences or launch configurations.
- Parameters:
string
- the string to deserialize, cannot benull
- Returns:
- deserialized resolvable 1C:Enterprise runtime installation, never
null
-
-