Package io.codemodder
Interface DependencyUpdateResult
public interface DependencyUpdateResult
Represents the result of a dependency update operation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DependencyUpdateResult
An update reporting no actions and no errors. -
Method Summary
Modifier and TypeMethodDescriptionstatic DependencyUpdateResult
create
(List<DependencyGAV> injectedDependencies, List<DependencyGAV> skippedPackages, Set<io.codemodder.codetf.CodeTFChangesetEntry> updatedChanges, Set<Path> erroredFiles) The set of files that we attempted to update, but failed.The list of dependencies that were successfully injected into the project.Set<io.codemodder.codetf.CodeTFChangesetEntry>
An updated model of the changed files in the project, after the dependency update operation.The list of dependencies that were already available to the given file.
-
Field Details
-
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
Set<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
The set of files that we attempted to update, but failed. -
create
static DependencyUpdateResult create(List<DependencyGAV> injectedDependencies, List<DependencyGAV> skippedPackages, Set<io.codemodder.codetf.CodeTFChangesetEntry> updatedChanges, Set<Path> erroredFiles)
-