Class HibernatePresenceCondition

  • All Implemented Interfaces:
    io.micronaut.context.condition.Condition, java.util.function.Predicate<io.micronaut.context.condition.ConditionContext>

    @Internal
    public final class HibernatePresenceCondition
    extends java.lang.Object
    implements io.micronaut.context.condition.Condition
    Disables the datasource configuration if Hibernate is present.
    Since:
    1.0
    Author:
    graemerocher
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean 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
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

      • HibernatePresenceCondition

        public HibernatePresenceCondition()
    • Method Detail

      • matches

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