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
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance.protectedAbstractProjectSourceProvider(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, waitMethods inherited from interface com._1c.g5.v8.dt.internal.compare.datasource.IExtendedProjectSourceProvider
getFullImportRequestMethods 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 benullprojectName- the project name, cannot benullruntimeVersion- the runtime version, cannot benull
-
-
Method Details
-
getProjectName
Description copied from interface:IExtendedProjectSourceProviderReturns project name for this data source.- Specified by:
getProjectNamein interfaceIExtendedProjectSourceProvider- Returns:
- the project name, never
null
-
getProjectNature
Description copied from interface:IExtendedProjectSourceProviderGets the project nature that defines the DT project type.- Specified by:
getProjectNaturein interfaceIExtendedProjectSourceProvider- Returns:
- The deciding project nature, never
null
-
getTargetRuntimeVersion
Description copied from interface:IExtendedProjectSourceProviderReturns the target runtime version for the project behind this source.- Specified by:
getTargetRuntimeVersionin interfaceIExtendedProjectSourceProvider- Returns:
- the target runtime version, never
null
-