Class OperationContext

java.lang.Object
com.atlassian.confluence.plugins.synchrony.api.OperationContext

public class OperationContext extends Object
Sets the context of the Synchrony process management operation
Since:
10.0
  • Field Details

    • DEFAULT

      public static final OperationContext DEFAULT
      Default context. In the default context:
      • base url is not overloaded
      • Synchrony process is marked as managed by Confluence
  • Method Details

    • builder

      public static OperationContext.Builder builder()
      Returns builder for this class
      Returns:
      builder for this class
    • overloadedBaseUrl

      public Optional<String> overloadedBaseUrl()
      If returned Optional 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 or false otherwisea