Klasse Blames
java.lang.Object
io.jenkins.plugins.forensics.blame.Blames
- Alle implementierten Schnittstellen:
Serializable
Provides access to the blame information for a collection of workspace files. File names must use absolute paths.
Additionally, info and error messages during the SCM processing can be stored.
- Autor:
- Ullrich Hafner
- Siehe auch:
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Adds the specified blame to this collection of blames.void
Merges all specified blames with the current collection of blames.boolean
Returns whether there are blames for the specified file.boolean
Returns the blame information for the specified file.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.
-
Konstruktordetails
-
Blames
public Blames()
-
-
Methodendetails
-
add
Adds the specified blame to this collection of blames.- Parameter:
additionalBlame
- the blame to add
-
addAll
Merges all specified blames with the current collection of blames.- Parameter:
other
- the blames to add
-
isEmpty
public boolean isEmpty()Returns whether there are files with blames.- Gibt zurück:
true
if there a no blames available,false
otherwise
-
size
public int size()Returns the number of files with blames.- Gibt zurück:
- number of affected files with blames
-
contains
Returns whether there are blames for the specified file.- Parameter:
fileName
- the relative or absolute path of the file- Gibt zurück:
true
if the file already has been added,false
otherwise
-
getFiles
Returns all files with blames.- Gibt zurück:
- the files with blames
-
getBlame
Returns the blame information for the specified file.- Parameter:
fileName
- the absolute path of the file- Gibt zurück:
- the blame information for the specified file.
- Löst aus:
NoSuchElementException
- if the file name is not registered
-
equals
-
hashCode
public int hashCode()
-