Interface Condition

    • Method Detail

      • initialize

        void initialize​(AbstractManagedObjectDefinition<?,​?> d)
                 throws Exception
        Initializes this condition.
        Parameters:
        d - The abstract managed object definition associated with this condition.
        Throws:
        Exception - If this condition could not be initialized.
      • evaluate

        boolean evaluate​(ManagementContext context,
                         ManagedObject<?> managedObject)
                  throws LdapException
        Evaluates this condition against the provided client managed object.
        Parameters:
        context - The client management context.
        managedObject - The client managed object.
        Returns:
        Returns true if this condition is satisfied.
        Throws:
        LdapException - If the condition could not be evaluated.
      • evaluate

        boolean evaluate​(ServerManagedObject<?> managedObject)
                  throws ConfigException
        Evaluates this condition against the provided server managed object.
        Parameters:
        managedObject - The server managed object.
        Returns:
        Returns true if this condition is satisfied.
        Throws:
        ConfigException - If the condition could not be evaluated due to an unexpected configuration exception.