Interface IV8Project
-
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
- All Known Subinterfaces:
IConfigurationProject
,IDependentProject
,IExtensionProject
,IExternalObjectProject
public interface IV8Project extends org.eclipse.core.runtime.IAdaptable
IV8Project
represents handle of abstract V8 project. Generally, V8 projects are high level abstractions above workspaceIProject
that are aware of 1C:Enterprise domain data.Each V8 project may contain metadata objects with types, defined by the specific V8 project type. Technically, V8 projects are containers for metadata objects with described meta information, such as 1C:Enterprise version to design these metadata objects for, script variant to use in Built-In language modules, etc.
V8 projects implement the
IAdaptable
interface, and extensions are managed by the platform's adapter manager, so clients may extend it.Clients may use
IV8ProjectManager
to get instances of specific V8 projects, optionally, by project type. Clients may use specific V8 project type managers to create and manage instances of specific type V8 projects.- See Also:
IV8ProjectManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompatibilityMode
getCompatibilityMode()
Returns compatibility mode to use for restrictions in this V8 project.Language
getDefaultLanguage()
Returns current default language to use for metadata objects synonym definition for this V8 project.IDtProject
getDtProject()
Returns underlying workspaceIDtProject
instance for this V8 project.Collection<Language>
getLanguages()
Returns all languages that may be used for metadata objects synonym definition for this V8 project.org.eclipse.core.resources.IProject
getProject()
Returns underlying workspaceIProject
instance for this V8 project.ScriptVariant
getScriptVariant()
Returns current script variant to use in Built-In language modules of this V8 project.Collection<ApplicationUsePurpose>
getUsePurposes()
Returns all use purposes of this V8 project.Version
getVersion()
Returns 1C:Enterprise runtime version of this V8 project.
-
-
-
Method Detail
-
getProject
org.eclipse.core.resources.IProject getProject()
Returns underlying workspaceIProject
instance for this V8 project.- Returns:
- underlying workspace
IProject
instance for this V8 project, nevernull
-
getDtProject
IDtProject getDtProject()
Returns underlying workspaceIDtProject
instance for this V8 project.- Returns:
- underlying workspace
IDtProject
instance for this V8 project, nevernull
-
getVersion
Version getVersion()
Returns 1C:Enterprise runtime version of this V8 project. This version is equal to version, that is described in project manifest file.Version of the project means a version of 1C:Enterprise the project is developing for. All restrictions of version-dependent operations must be executed with respect to this version value.
- Returns:
- 1C:Enterprise runtime version of this V8 project, never
null
- See Also:
Version
-
getCompatibilityMode
CompatibilityMode getCompatibilityMode()
Returns compatibility mode to use for restrictions in this V8 project.Compatibility mode may restrict some version-dependent operations additional to version restrictions and affect 1C:Enterprise runtime work.
- Returns:
- compatibility mode to use for restrictions in this V8 project, never
null
-
getScriptVariant
ScriptVariant getScriptVariant()
Returns current script variant to use in Built-In language modules of this V8 project.- Returns:
- current script variant to use in Built-In language modules of this V8 project, never
null
-
getDefaultLanguage
Language getDefaultLanguage()
Returns current default language to use for metadata objects synonym definition for this V8 project. May returnnull
.- Returns:
- current default language to use for metadata objects synonym definition for this V8 project or
null
if not defined
-
getLanguages
Collection<Language> getLanguages()
Returns all languages that may be used for metadata objects synonym definition for this V8 project. The returned collection is immutable.- Returns:
- all languages that may be used for metadata objects synonym definition for this V8 project, never
null
-
getUsePurposes
Collection<ApplicationUsePurpose> getUsePurposes()
Returns all use purposes of this V8 project. The returned collection is immutable.- Returns:
- all use purposes of this V8 project, never
null
-
-