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:
ChangeLogSet.Entry.getAffectedFiles()

Method Summary
 EditType getEditType()
          Return whether the file is new/modified/deleted
 String getPath()
          The path in the workspace that was affected
 

Method Detail

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



Copyright © 2004-2013. All Rights Reserved.