All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.codemodder.CodemodPackageUpdateResult Maven / Gradle / Ivy

package io.codemodder;

import io.codemodder.codetf.CodeTFChangesetEntry;
import io.codemodder.codetf.CodeTFPackageAction;
import java.nio.file.Path;
import java.util.List;
import java.util.Set;

/** A */
public interface CodemodPackageUpdateResult {

  List packageActions();

  List manifestChanges();

  Set filesFailedToChange();

  static CodemodPackageUpdateResult from(
      final List packageActions,
      final List manifestChanges,
      final Set filesFailedToChange) {
    return new CodemodPackageUpdateResult() {
      @Override
      public List packageActions() {
        return packageActions;
      }

      @Override
      public List manifestChanges() {
        return manifestChanges;
      }

      @Override
      public Set filesFailedToChange() {
        return filesFailedToChange;
      }
    };
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy