Class RemoveRolloutAndSuppressingInterference

java.lang.Object
com.palantir.gradle.suppressibleerrorprone.modes.interferences.RemoveRolloutAndSuppressingInterference
All Implemented Interfaces:
ModeInterference

public final class RemoveRolloutAndSuppressingInterference extends Object implements ModeInterference
Removing and suppressing cannot run at the same time, as removing just runs an errorprone to remove the for-rollout: suppressions - if suppressing happened at the same time, this errorprone would just get suppressed.
  • Constructor Details

    • RemoveRolloutAndSuppressingInterference

      public RemoveRolloutAndSuppressingInterference()
  • Method Details

    • interferesWith

      public ModeInterferenceResult interferesWith(Set<ModeName> modeNames)
      Description copied from interface: ModeInterference
      Identify which of the flags interfere with each other.
      Specified by:
      interferesWith in interface ModeInterference
      Parameters:
      modeNames - The flags that are enabled in this run
      Returns:
      Either no interference, the flags that interfere with each other, or why they are incompatible