public class Blames extends Object implements Serializable
| Constructor and Description |
|---|
Blames() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(FileBlame additionalBlame)
Adds the specified blame to this collection of blames.
|
void |
addAll(Blames other)
Merges all specified blames with the current collection of blames.
|
boolean |
contains(String fileName)
Returns whether there are blames for the specified file.
|
boolean |
equals(Object o) |
FileBlame |
getBlame(String fileName)
Returns the blame information for the specified file.
|
Set<String> |
getFiles()
Returns all files with blames.
|
int |
hashCode() |
boolean |
isEmpty()
Returns whether there are files with blames.
|
int |
size()
Returns the number of files with blames.
|
public void add(FileBlame additionalBlame)
additionalBlame - the blame to addpublic void addAll(Blames other)
other - the blames to addpublic boolean isEmpty()
true if there a no blames available, false otherwisepublic int size()
public boolean contains(String fileName)
fileName - the relative or absolute path of the filetrue if the file already has been added, false otherwisepublic Set<String> getFiles()
public FileBlame getBlame(String fileName)
fileName - the absolute path of the fileNoSuchElementException - if the file name is not registeredCopyright © 2016–2020. All rights reserved.