Class GitCheckoutMutator

java.lang.Object
org.gradle.profiler.mutations.AbstractGitMutator
org.gradle.profiler.mutations.GitCheckoutMutator
All Implemented Interfaces:
BuildMutator

public class GitCheckoutMutator extends AbstractGitMutator
  • Constructor Details

    • GitCheckoutMutator

      public GitCheckoutMutator(File projectDir, String cleanup, String build)
  • Method Details

    • beforeScenario

      public void beforeScenario(ScenarioContext context)
      Description copied from interface: BuildMutator
      Runs before the first iteration of the scenario.
    • beforeCleanup

      public void beforeCleanup(BuildContext context)
      Description copied from interface: BuildMutator
      Runs before each iteration if cleanup tasks are declared.
    • beforeBuild

      public void beforeBuild(BuildContext context)
      Description copied from interface: BuildMutator
      Runs before starting an iteration of the build, after any potential cleanup has finished.
    • afterBuild

      public void afterBuild(BuildContext context, Throwable error)
      Description copied from interface: BuildMutator
      Runs after each iteration of the build has finished.
    • toString

      public String toString()
      Overrides:
      toString in class Object