Package com._1c.g5.v8.dt.internal.team
Class DevelopmentProcessManager
java.lang.Object
com._1c.g5.v8.dt.internal.team.DevelopmentProcessManager
- All Implemented Interfaces:
IDevelopmentProcessManager
Implementation of
IDevelopmentProcessManager
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds development process manager listener.create
(String name, org.eclipse.core.resources.IProject project, IIssueType issueType, IDeploymentType deploymentType, DevelopmentOptions options, org.eclipse.core.runtime.IProgressMonitor monitor) Creates the new development process with the provided name and options.void
delete
(IIssueDescriptor issue, org.eclipse.core.resources.IProject project, DevelopmentOptions options, org.eclipse.core.runtime.IProgressMonitor monitor) Deletes the development environment for the provided issue descriptor.Returns the development issue descriptor with the provided identifier.getAll
(org.eclipse.core.resources.IProject project) Returns a collection of all current development issue descriptors.void
Removes development process manager listener.
-
Constructor Details
-
DevelopmentProcessManager
public DevelopmentProcessManager()
-
-
Method Details
-
get
public Optional<IIssueDescriptor> get(String name, org.eclipse.core.resources.IProject project) throws DevelopmentProcessException Description copied from interface:IDevelopmentProcessManager
Returns the development issue descriptor with the provided identifier.- Specified by:
get
in interfaceIDevelopmentProcessManager
- Parameters:
name
- the identifier of the development issue, cannot benull
project
- the workspace project, cannot benull
- Returns:
- the development issue descriptor with the provided identifier
- Throws:
DevelopmentProcessException
- if development issue get failed
-
getAll
public Collection<IIssueDescriptor> getAll(org.eclipse.core.resources.IProject project) throws DevelopmentProcessException Description copied from interface:IDevelopmentProcessManager
Returns a collection of all current development issue descriptors.- Specified by:
getAll
in interfaceIDevelopmentProcessManager
- Parameters:
project
- the workspace project, cannot benull
- Returns:
- a collection of all current development issue descriptors, never
null
- Throws:
DevelopmentProcessException
- if development issue get failed
-
create
public IIssueDescriptor create(String name, org.eclipse.core.resources.IProject project, IIssueType issueType, IDeploymentType deploymentType, DevelopmentOptions options, org.eclipse.core.runtime.IProgressMonitor monitor) throws DevelopmentProcessException Description copied from interface:IDevelopmentProcessManager
Creates the new development process with the provided name and options. Development VCS branch and development environment may be created and configured during process creation based on the provided development options.This method is long-running, progress and cancellation are provided by the progress monitor.
- Specified by:
create
in interfaceIDevelopmentProcessManager
- Parameters:
name
- the name of the issue to create, cannot benull
project
- the project to create issure for, cannot benull
issueType
- the issue type to create, cannot benull
deploymentType
- the development deployment type, nevernull
options
- the development options to create development process with, cannot benull
monitor
- the progress monitor to report progress to ornull
if not needed- Returns:
- a description of the created development issue, never
null
- Throws:
DevelopmentProcessException
- if development process creation failed- See Also:
-
delete
public void delete(IIssueDescriptor issue, org.eclipse.core.resources.IProject project, DevelopmentOptions options, org.eclipse.core.runtime.IProgressMonitor monitor) throws DevelopmentProcessException Description copied from interface:IDevelopmentProcessManager
Deletes the development environment for the provided issue descriptor.- Specified by:
delete
in interfaceIDevelopmentProcessManager
- 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 ornull
if not needed- Throws:
DevelopmentProcessException
- if development process delete failed
-
addListener
Description copied from interface:IDevelopmentProcessManager
Adds development process manager listener. Listener will receive issue descriptors changed events.- Specified by:
addListener
in interfaceIDevelopmentProcessManager
- Parameters:
listener
- - listener to add, cannot benull
-
removeListener
Description copied from interface:IDevelopmentProcessManager
Removes development process manager listener. Listener will not receive issue descriptors changed events anymore.- Specified by:
removeListener
in interfaceIDevelopmentProcessManager
- Parameters:
listener
- - listener to remove, cannot benull
-