Class AzureBlobStorageEnabledCondition

java.lang.Object
io.micronaut.objectstorage.azure.AzureBlobStorageEnabledCondition
All Implemented Interfaces:
io.micronaut.context.condition.Condition, Predicate<io.micronaut.context.condition.ConditionContext>

@Internal public class AzureBlobStorageEnabledCondition extends Object implements io.micronaut.context.condition.Condition
Condition to check whether an Azure object storage should be enabled. ToggeableCondition can't be used in this module since AzureBlobStorageOperations has an @EachBean over BlobContainerClient, and not AzureBlobStorageConfiguration.
Since:
2.0.2
Author:
Álvaro Sánchez-Mariscal
  • Constructor Details

    • AzureBlobStorageEnabledCondition

      public AzureBlobStorageEnabledCondition()
  • Method Details

    • matches

      public boolean matches(io.micronaut.context.condition.ConditionContext context)
      Specified by:
      matches in interface io.micronaut.context.condition.Condition