public interface IProcessExtensionGui
IProcessExtension
.Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.lang.Void> |
displayAddResult(IAddResult result)
Called after a successful add to version is finished.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
displayCommitResult(ICommitResult result)
Called after a commit is definitively finished and validated.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
displayGetLockResult(IGetLockResult result)
Called after a locking operation is finished.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
displayMergeResult(IMergeCommand command,
IUpdateDetails result)
Called after a successful merge is finished
|
void |
displayModelChangeKeeperError(ModelChangesLoadingFailedException e) |
boolean |
displayPreAdd(IAddCommand command)
Ask for the parameters and the confirmation of the addition of the given command elements.
|
boolean |
displayPreCommit(ICommitCommand command)
Called before a commit operation is executed.
|
boolean |
displayPreGetLock(IGetLockCommand command)
Ask for the parameters and the confirmation of the locking of the given elements.
|
boolean |
displayPreRemove(IRemoveCommand command)
Ask for the parameters and the confirmation of the removal of the given command elements.
|
boolean |
displayPreRevert(IRevertCommand command)
Called before a revert operation is executed.
|
boolean |
displayPreUpdate(IUpdateCommand command)
Ask for the parameters and the confirmation of the update of the given elements.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
displayRemoveResult(IRemoveConfig result)
Called after a successful remove from version is finished.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
displayRevertResult(IRevertResult result)
Called after a revert operation.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
displayUpdateResult(IUpdateDetails result)
Called after a successful update is finished
|
java.util.concurrent.CompletableFuture<java.lang.Void> displayCommitResult(ICommitResult result)
It is not called if the commit fails.
result
- the detail of committed elements.java.util.concurrent.CompletableFuture<java.lang.Void> displayAddResult(IAddResult result)
It is not called if the command fails.
result
- the result of the add to version.java.util.concurrent.CompletableFuture<java.lang.Void> displayMergeResult(IMergeCommand command, IUpdateDetails result)
command
- the merge commandresult
- result of the merge.java.util.concurrent.CompletableFuture<java.lang.Void> displayGetLockResult(IGetLockResult result)
result
- result of the locking.java.util.concurrent.CompletableFuture<java.lang.Void> displayRemoveResult(IRemoveConfig result)
result
- the remove from version operation.java.util.concurrent.CompletableFuture<java.lang.Void> displayUpdateResult(IUpdateDetails result)
result
- result of the update.java.util.concurrent.CompletableFuture<java.lang.Void> displayRevertResult(IRevertResult result)
result
- the result of the revert operation.boolean displayPreRemove(IRemoveCommand command)
The PEM may show a dialog box to ask the user for confirmation. The method may return false if the operation is cancelled.
command
- the command containing the elements on which the update will be run.true
in case of confirmation, false
if the operation is canceled.boolean displayPreRevert(IRevertCommand command)
The PEM may show a dialog box to ask the user for confirmation. The PEM may confirm or cancel the revert operation, and partly modify the revert parameters.
command
- The revert configuration. It may be modified by calling the appropriate methods on the
IRevertCommand
boolean displayPreGetLock(IGetLockCommand command)
The PEM may show a dialog box to ask the user for confirmation. The method must return the checkout parameters or null if the checkout is cancelled.
command
- the elements to checkout.true
to allow the command to run, false
to cancel it.boolean displayPreCommit(ICommitCommand command)
The PEM may show a dialog box to ask the user for confirmation. The PEM may confirm or cancel the commit operation, and partly modify the commit parameters.
command
- The commit configuration. It may be modified by calling the appropriate methods on the ICommitConfigfalse
to cancel the commit configurationboolean displayPreAdd(IAddCommand command)
The PEM may show a dialog box to ask the user for confirmation. The method may return false if the addition is cancelled.
command
- the command containing the elements on which the update will be run.true
in case of confirmation, false
if the update is canceled.boolean displayPreUpdate(IUpdateCommand command)
The PEM may show a dialog box to ask the user for confirmation. The method may return false if the update is cancelled.
command
- the command containing the elements on which the update will be run.true
in case of confirmation, false
if the update is canceled.void displayModelChangeKeeperError(ModelChangesLoadingFailedException e)