Interface IResourceDescription.Manager.AllChangeAware

    • Method Detail

      • isAffectedByAny

        boolean isAffectedByAny​(java.util.Collection<IResourceDescription.Delta> deltas,
                                IResourceDescription candidate,
                                IResourceDescriptions context)
                         throws java.lang.IllegalArgumentException
        Batch operation to check whether a description is affected by any given delta in the given context. Implementations may perform any optimizations to return false whenever possible, e.g. check the deltas against the visible containers.
        Parameters:
        deltas - List of deltas to check. May not be null. In contrast to IResourceDescription.Manager.isAffected(Collection, IResourceDescription, IResourceDescriptions) callers of this method are expected to pass in all deltas, even if they don't have changed IEObjectDescriptions
        candidate - The description to check. May not be null.
        context - The current context of the batch operation. May not be null.
        Returns:
        whether the candidate is affected by any of the given changes.
        Throws:
        java.lang.IllegalArgumentException - if this manager is not responsible for the given candidate.