Interface CompositionRule


public interface CompositionRule
Interface for driver composition validation rules.

Each rule checks one aspect of composition validity and returns an error message if validation fails.

  • Method Details

    • validate

      Optional<String> validate(List<ChainEntry> chain, String rawUrl)
      Validate the driver chain.
      Parameters:
      chain - List of ChainEntry from outermost to innermost driver
      rawUrl - The original URL for error messages
      Returns:
      Empty if valid, error message if invalid
    • getName

      String getName()
      Rule name for logging and configuration.