Interface IDevelopmentProcessContributor
- All Known Implementing Classes:
CopyInfobaseProcessContributor
,DeleteInfobaseProcessContributor
,DissociateInfobaseProcessContributor
,EmptyInfobaseProcessContributor
,ExistingInfobaseProcessContributor
,GitBranchProcessContributor
,RestoreDatabaseFileInfobaseProcessContributor
,RestoreDumpInfobaseProcessContributor
,SourceBranchInfobaseProcessContributor
plugin.xml
.
Following is an example definition of a development process contributor extension:
<extension point="com._1c.g5.v8.dt.team.developmentProcess"> <!-- this contributor will be executed for every development process creation --> <contributor class="com.example.SomeVcsBranchProcessContributor"/> <!-- this contributor will be executed for development process creation only with the provided deployment type --> <contributor class="com.exampe.SomeDevelopmentEnvironmentProcessContributor" deploymentType="com.exampe.deploymentType.someType"> </contributor> </extension>
Defined development process contributor will be aggregated and executed during development process creation based on the provided deployment type.
This interface is intended to be implemented and registered by clients. Instances are not intended to be explicitly
used by client. Clients may use IDevelopmentProcessManager
instead.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(IIssueDescriptor issue, org.eclipse.core.resources.IProject project, DevelopmentOptions options, org.eclipse.core.runtime.IProgressMonitor monitor) Contributes development process deletion work the development environment for the provided issue descriptor.void
prepare
(String name, org.eclipse.core.resources.IProject project, IIssueType issueType, DevelopmentOptions options, org.eclipse.core.runtime.IProgressMonitor monitor) Prepares development process contribution work to the creation process.void
process
(String name, org.eclipse.core.resources.IProject project, IIssueType issueType, DevelopmentOptions options, org.eclipse.core.runtime.IProgressMonitor monitor) Contributes development process creation work to the creation process.
-
Method Details
-
prepare
void prepare(String name, org.eclipse.core.resources.IProject project, IIssueType issueType, DevelopmentOptions options, org.eclipse.core.runtime.IProgressMonitor monitor) throws DevelopmentProcessException Prepares development process contribution work to the creation process. Method is called beforeprocess
method.Based on provided development options, clients may collect any essential information if needed before real changes of all contributors are applied.
- Parameters:
name
- the name of the creating issue, cannot benull
project
- the project to create issure for, cannot benull
issueType
- the type of the creating issue, cannot benull
options
- the development options to create development process with, cannot benull
monitor
- the progress monitor to report progress to and check cancellation status, cannot benull
- Throws:
DevelopmentProcessException
- if development process creation failed- See Also:
-
process
void process(String name, org.eclipse.core.resources.IProject project, IIssueType issueType, DevelopmentOptions options, org.eclipse.core.runtime.IProgressMonitor monitor) throws DevelopmentProcessException Contributes development process creation work to the creation process. Method is called afrerprepare
method.Based on provided development options, clients may implement development VCS branch creation or development environment creation and configuration. If creation process contribution failed with some reason clients should throw
DevelopmentProcessException
.- Parameters:
name
- the name of the creating issue, cannot benull
project
- the project to create issure for, cannot benull
issueType
- the type of the creating issue, cannot benull
options
- the development options to create development process with, cannot benull
monitor
- the progress monitor to report progress to and check cancellation status, cannot benull
- Throws:
DevelopmentProcessException
- if development process creation failed- See Also:
-
delete
void delete(IIssueDescriptor issue, org.eclipse.core.resources.IProject project, DevelopmentOptions options, org.eclipse.core.runtime.IProgressMonitor monitor) throws DevelopmentProcessException Contributes development process deletion work the development environment for the provided issue descriptor.- Parameters:
issue
- the issue to delete development environment for, cannot benull
project
- the workspace project, cannot benull
options
- the development options to delete development process with, cannot benull
monitor
- the progress monitor to report progress to and check cancellation status, cannot benull
- Throws:
DevelopmentProcessException
- if development process delete failed
-