Interface FallbackRule

  • All Known Implementing Classes:
    RenameFallbackRule

    public interface FallbackRule
    Provides a common interface for fallback rules. Note that the action of a fallback rule is defined by the implementing class.
    • Method Detail

      • applyToCollection

        String applyToCollection()
        Gets the identifier of the collection that this rule should be applied to.
        Returns:
        returns the identifier
      • mustBeContextCollection

        boolean mustBeContextCollection()
        Returns true of the rule can only be applied to the context collection, in other words the collection that triggers the fallback actions.
        Returns:
        returns true if the rule can only be applied to the context collection, false otherwise