Package io.micronaut.objectstorage.azure
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(io.micronaut.context.condition.ConditionContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.context.condition.Condition
test
-
Constructor Details
-
AzureBlobStorageEnabledCondition
public AzureBlobStorageEnabledCondition()
-
-
Method Details
-
matches
public boolean matches(io.micronaut.context.condition.ConditionContext context) - Specified by:
matches
in interfaceio.micronaut.context.condition.Condition
-