public final class ChangedFile extends Object
ChangedFiles
Modifier and Type | Class and Description |
---|---|
static class |
ChangedFile.Type
Change types.
|
Constructor and Description |
---|
ChangedFile(File sourceFolder,
File file,
ChangedFile.Type type)
Create a new
ChangedFile instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
File |
getFile()
Return the file that was changed.
|
String |
getRelativeName()
Return the name of the file relative to the source folder.
|
ChangedFile.Type |
getType()
Return the type of change.
|
int |
hashCode() |
String |
toString() |
public ChangedFile(File sourceFolder, File file, ChangedFile.Type type)
ChangedFile
instance.sourceFolder
- the source folderfile
- the filetype
- the type of changepublic File getFile()
public ChangedFile.Type getType()
public String getRelativeName()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.