Class V8ProjectComparisonDataSourceDescriptor
- java.lang.Object
-
- com._1c.g5.v8.dt.compare.datasource.V8ProjectComparisonDataSourceDescriptor
-
- All Implemented Interfaces:
IComparisonDataSourceDescriptor
public class V8ProjectComparisonDataSourceDescriptor extends Object implements IComparisonDataSourceDescriptor
The descriptor represented by a V8 project.
-
-
Constructor Summary
Constructors Constructor Description V8ProjectComparisonDataSourceDescriptor(IV8Project v8Project)Creates a new instance for the given V8 project.V8ProjectComparisonDataSourceDescriptor(String projectName, String projectNature)Creates a new instance with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetProjectName()Returns the project name for this data source descriptor.StringgetProjectNature()Returns the V8 project nature.inthashCode()
-
-
-
Constructor Detail
-
V8ProjectComparisonDataSourceDescriptor
public V8ProjectComparisonDataSourceDescriptor(String projectName, String projectNature)
Creates a new instance with the given parameters.- Parameters:
projectName- the project name, cannot benullprojectNature- the V8 project nature, may beICoreConstants.V8_CONFIGURATION_NATUREorICoreConstants.V8_EXTENSION_NATUREorICoreConstants.V8_EXTERNAL_OBJECTS_NATURE, cannot benull
-
V8ProjectComparisonDataSourceDescriptor
public V8ProjectComparisonDataSourceDescriptor(IV8Project v8Project)
Creates a new instance for the given V8 project.- Parameters:
v8Project- the V8 project, cannot benull
-
-
Method Detail
-
getProjectName
public String getProjectName()
Description copied from interface:IComparisonDataSourceDescriptorReturns the project name for this data source descriptor.- Specified by:
getProjectNamein interfaceIComparisonDataSourceDescriptor- Returns:
- the project name, never
null
-
getProjectNature
public String getProjectNature()
Returns the V8 project nature.- Returns:
- the V8 project nature, may be
ICoreConstants.V8_CONFIGURATION_NATUREorICoreConstants.V8_EXTENSION_NATUREorICoreConstants.V8_EXTERNAL_OBJECTS_NATURE, nevernull
-
-