Class OracleCloudConfigCondition

java.lang.Object
io.micronaut.oraclecloud.core.OracleCloudConfigCondition
All Implemented Interfaces:
io.micronaut.context.condition.Condition, Predicate<io.micronaut.context.condition.ConditionContext>

public class OracleCloudConfigCondition extends Object implements io.micronaut.context.condition.Condition
A condition used to enable file based configuration if the file exists that is specified by either oci.config or available at $USE_HOME/.oci/config.
Since:
1.0.0
Author:
graemerocher
  • Constructor Details

    • OracleCloudConfigCondition

      public OracleCloudConfigCondition()
  • Method Details

    • matches

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