T - the type of the information of the issues to be resolvedR - the type of the decision made after a reviewpublic static class SandboxPlayground.Monitor<T,R>
extends java.lang.Object
| Constructor and Description |
|---|
Monitor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
resolve(SandboxPlayground playground,
T info)
Resolves an issue raised during an operation.
|
R |
review(SandboxPlayground playground)
Reviews the information provided by an operation.
|
public java.lang.Boolean resolve(SandboxPlayground playground, T info)
playground - the sandbox playgroundinfo - the information of the issue to be resolvedtrue, false or null. Returning
true tells the repositories that do not
support the review stage to accept all changes when possible.
Returning false tells all repositories to abort
the operation. Returning null tells the
repositories to continue the operation based on the context
at the time, which may be inspected via the argument
info.public R review(SandboxPlayground playground)
playground - the sandbox playgroundnull if a decision cannot be made