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 TypeMethodDescriptionvoidAdds 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.voiddelete(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.voidRemoves 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:IDevelopmentProcessManagerReturns the development issue descriptor with the provided identifier.- Specified by:
getin interfaceIDevelopmentProcessManager- Parameters:
name- the identifier of the development issue, cannot benullproject- 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:IDevelopmentProcessManagerReturns a collection of all current development issue descriptors.- Specified by:
getAllin 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:IDevelopmentProcessManagerCreates 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:
createin interfaceIDevelopmentProcessManager- Parameters:
name- the name of the issue to create, cannot benullproject- the project to create issure for, cannot benullissueType- the issue type to create, cannot benulldeploymentType- the development deployment type, nevernulloptions- the development options to create development process with, cannot benullmonitor- the progress monitor to report progress to ornullif 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:IDevelopmentProcessManagerDeletes the development environment for the provided issue descriptor.- Specified by:
deletein interfaceIDevelopmentProcessManager- Parameters:
issue- the issue to delete development environment for, cannot benullproject- the workspace project, cannot benulloptions- the development options to delete development process with, cannot benullmonitor- the progress monitor to report progress to ornullif not needed- Throws:
DevelopmentProcessException- if development process delete failed
-
addListener
Description copied from interface:IDevelopmentProcessManagerAdds development process manager listener. Listener will receive issue descriptors changed events.- Specified by:
addListenerin interfaceIDevelopmentProcessManager- Parameters:
listener- - listener to add, cannot benull
-
removeListener
Description copied from interface:IDevelopmentProcessManagerRemoves development process manager listener. Listener will not receive issue descriptors changed events anymore.- Specified by:
removeListenerin interfaceIDevelopmentProcessManager- Parameters:
listener- - listener to remove, cannot benull
-