Class AbstractProjectSourceProvider
java.lang.Object
com._1c.g5.v8.dt.internal.compare.datasource.AbstractProjectSourceProvider
- All Implemented Interfaces:
IProjectSourceProvider
,IExtendedProjectSourceProvider
- Direct Known Subclasses:
DtProjectSourceProvider
,FileSystemProjectSourceProvider
,GitProjectSourceProvider
,LibraryAwareProjectSourceProvider
,LibrarySourceProvider
public abstract class AbstractProjectSourceProvider
extends Object
implements IExtendedProjectSourceProvider
A base implementation of
IExtendedProjectSourceProvider
to store DT project metainformation (name, nature,
runtime version, etc).-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Creates a new instance.protected
AbstractProjectSourceProvider
(String projectName, String projectNature, Version runtimeVersion) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns project name for this data source.Gets the project nature that defines the DT project type.Returns the target runtime version for the project behind this source.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com._1c.g5.v8.dt.internal.compare.datasource.IExtendedProjectSourceProvider
getFullImportRequest
Methods inherited from interface com._1c.g5.v8.dt.compare.datasource.IProjectSourceProvider
fileExists, getFileListRecursively, getFileStream, stop
-
Constructor Details
-
AbstractProjectSourceProvider
protected AbstractProjectSourceProvider()Creates a new instance. -
AbstractProjectSourceProvider
protected AbstractProjectSourceProvider(String projectName, String projectNature, Version runtimeVersion) Creates a new instance. Used to create delta-sources without proper project information.- Parameters:
projectNature
- the project nature, cannot benull
projectName
- the project name, cannot benull
runtimeVersion
- the runtime version, cannot benull
-
-
Method Details
-
getProjectName
Description copied from interface:IExtendedProjectSourceProvider
Returns project name for this data source.- Specified by:
getProjectName
in interfaceIExtendedProjectSourceProvider
- Returns:
- the project name, never
null
-
getProjectNature
Description copied from interface:IExtendedProjectSourceProvider
Gets the project nature that defines the DT project type.- Specified by:
getProjectNature
in interfaceIExtendedProjectSourceProvider
- Returns:
- The deciding project nature, never
null
-
getTargetRuntimeVersion
Description copied from interface:IExtendedProjectSourceProvider
Returns the target runtime version for the project behind this source.- Specified by:
getTargetRuntimeVersion
in interfaceIExtendedProjectSourceProvider
- Returns:
- the target runtime version, never
null
-