Package io.codemodder

Interface DependencyUpdateResult


public interface DependencyUpdateResult
Represents the result of a dependency update operation.
  • Field Details

    • EMPTY_UPDATE

      static final DependencyUpdateResult EMPTY_UPDATE
      An update reporting no actions and no errors.
  • Method Details

    • injectedPackages

      List<DependencyGAV> injectedPackages()
      The list of dependencies that were successfully injected into the project.
    • skippedPackages

      List<DependencyGAV> skippedPackages()
      The list of dependencies that were already available to the given file.
    • packageChanges

      List<io.codemodder.codetf.CodeTFChangesetEntry> packageChanges()
      An updated model of the changed files in the project, after the dependency update operation. This includes the changes that were passed in, as well as any changes that were made to the project as a result of our updates.
    • erroredFiles

      Set<Path> erroredFiles()
      The set of files that we attempted to update, but failed.
    • create

      static DependencyUpdateResult create(List<DependencyGAV> injectedDependencies, List<DependencyGAV> skippedPackages, List<io.codemodder.codetf.CodeTFChangesetEntry> updatedChanges, Set<Path> erroredFiles)