Package hudson.scm

Interface ChangeLogSet.AffectedFile

Enclosing class:
ChangeLogSet<T extends ChangeLogSet.Entry>

public static interface ChangeLogSet.AffectedFile
Represents a file change. Contains filename, edit type, etc. I checked the API names against some some major SCMs and most SCMs can adapt to this interface with very little changes
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Return whether the file is new/modified/deleted
    The path in the workspace that was affected
  • Method Details

    • getPath

      String getPath()
      The path in the workspace that was affected

      Contains string like 'foo/bar/zot'. No leading/trailing '/', and separator must be normalized to '/'.

      Returns:
      never null.
    • getEditType

      EditType getEditType()
      Return whether the file is new/modified/deleted