Class OperationContext
java.lang.Object
com.atlassian.confluence.plugins.synchrony.api.OperationContext
Sets the context of the Synchrony process management operation
- Since:
- 10.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder class for convenience -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationContext.Builder
builder()
Returns builder for this classboolean
Returns flag that indicates if Synchrony process is manually managed by the adminIf returnedOptional
is not empty, it means it contains base url to be used instead of one provided by global settings
-
Field Details
-
DEFAULT
Default context. In the default context:- base url is not overloaded
- Synchrony process is marked as managed by Confluence
-
-
Method Details
-
builder
Returns builder for this class- Returns:
- builder for this class
-
overloadedBaseUrl
If returnedOptional
is not empty, it means it contains base url to be used instead of one provided by global settings- Returns:
- string with the new base url to be used to configure Synchrony process
-
isSynchronyClusterManuallyManaged
public boolean isSynchronyClusterManuallyManaged()Returns flag that indicates if Synchrony process is manually managed by the admin- Returns:
true
if Synchrony process is manually managed by the admin orfalse
otherwisea
-