A B C D E F G H I L M N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ADD - de.unibremen.informatik.st.libvcs4j.FileChange.Type
-
The
FileChange
is an addition. - apply(FileChange) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Applies the diff of
fileChange
(seeFileChange.computeDiff()
) and computes the resulting position. - apply(FileChange) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Range
-
Delegates
fileChange
toVCSFile.Range.getBegin()
andVCSFile.Range.getEnd()
(seeVCSFile.Position.apply(FileChange)
) and computes the resulting range.
B
- BEGIN_COMPARATOR - Static variable in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Range
-
Compares two ranges using their begin position (
VCSFile.Range.getBegin()
) andVCSFile.Position.OFFSET_COMPARATOR
. - beginOfLine() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Returns the position located at the first column of the current line.
- BinaryFileException - Exception in de.unibremen.informatik.st.libvcs4j
-
Is thrown by
VCSFile.readContent()
if the corresponding file is binary (seeVCSFile.isBinary()
). - BinaryFileException(String) - Constructor for exception de.unibremen.informatik.st.libvcs4j.BinaryFileException
-
Creates a new instance with given detail message.
C
- Commit - Interface in de.unibremen.informatik.st.libvcs4j
-
Represents a single commit.
- compact() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Compacts this tree such that each node is either a file, or a directory containing only files or at least two sub directories.
- computeDiff() - Method in interface de.unibremen.informatik.st.libvcs4j.FileChange
- computeDiff(FileChange) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Computes the changed lines of the given file change.
- computeLineDelta() - Method in interface de.unibremen.informatik.st.libvcs4j.FileChange
-
Returns the delta of the changed lines.
- createComment(String, String, LocalDateTime, ITEngine) - Method in interface de.unibremen.informatik.st.libvcs4j.ItModelFactory
-
Creates a new
Issue.Comment
. - createCommit(String, String, String, LocalDateTime, List<String>, List<FileChange>, List<Issue>, VCSEngine) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSModelFactory
-
Creates a new
Commit
. - createCopy(List<T>) - Method in interface de.unibremen.informatik.st.libvcs4j.ItModelFactory
-
Creates a flat copy of
list
. - createCopy(List<T>) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSModelFactory
-
Creates a flat copy of
list
. - createFileChange(VCSFile, VCSFile, VCSEngine) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSModelFactory
-
Creates a new
FileChange
. - createIssue(String, String, String, LocalDateTime, List<Issue.Comment>, ITEngine) - Method in interface de.unibremen.informatik.st.libvcs4j.ItModelFactory
-
Creates a new
Issue
. - createLineChange(LineChange.Type, int, String, VCSFile, VCSEngine) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSModelFactory
-
Creates a new
LineChange
. - createLineInfo(String, String, String, LocalDateTime, int, String, VCSFile, VCSEngine) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSModelFactory
-
Creates a new
LineInfo
. - createPosition(VCSFile, int, int, int, int, int, VCSEngine) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSModelFactory
-
Creates a new
VCSFile.Position
. - createRange(VCSFile.Position, VCSFile.Position, VCSEngine) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSModelFactory
-
Creates a new
VCSFile.Range
. - createRevision(String, List<String>, VCSEngine) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSModelFactory
-
Creates a new
Revision
. - createRevisionRange(int, Revision, Revision, List<Commit>, VCSEngine) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSModelFactory
-
Creates a new
RevisionRange
. - createVCSFile(String, Revision, VCSEngine) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSModelFactory
-
Creates a new
VCSFile
. - createVCSFileFilter() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Returns a
FilenameFilter
that is supposed to exclude VCS specific files and directories.
D
- de.unibremen.informatik.st.libvcs4j - package de.unibremen.informatik.st.libvcs4j
- DELETE - de.unibremen.informatik.st.libvcs4j.LineChange.Type
-
The
LineChange
is a deletion.
E
- EMPTY_DIRECTORY - Static variable in class de.unibremen.informatik.st.libvcs4j.FSTree
-
This path is used for empty trees.
- endOfLine() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Returns the position located at the last column of the current line.
F
- fail() - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Throws a
IllegalStateException
. - fail(String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Throws a
IllegalStateException
. - FileChange - Interface in de.unibremen.informatik.st.libvcs4j
-
Represents a change of a file.
- FileChange.Type - Enum in de.unibremen.informatik.st.libvcs4j
-
The type of a
FileChange
. - FSTree<V> - Class in de.unibremen.informatik.st.libvcs4j
-
Allows to represent a collection of
VCSFile
instances as a file system tree with a generic value that may be attached to a file. - FSTree.Visitor<E> - Class in de.unibremen.informatik.st.libvcs4j
-
A simple visitor to process
FSTree
instances.
G
- getAddedFiles() - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Returns all files that have been added.
- getAllDirectories() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns all (recursively) sub directories of this tree if this tree is a directory.
- getAllFiles() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns all (recursively) sub files of this tree if this tree is a directory.
- getAuthor() - Method in interface de.unibremen.informatik.st.libvcs4j.Commit
-
Returns the author of this commit.
- getAuthor() - Method in interface de.unibremen.informatik.st.libvcs4j.Issue.Comment
-
Returns the author of this comment.
- getAuthor() - Method in interface de.unibremen.informatik.st.libvcs4j.Issue
-
Returns the user who created this issue.
- getAuthor() - Method in interface de.unibremen.informatik.st.libvcs4j.LineInfo
-
Returns the author of this line.
- getBegin() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Range
-
Returns the begin position of this range.
- getColumn() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Returns the column of this position
>= 1
. - getComments() - Method in interface de.unibremen.informatik.st.libvcs4j.Issue
-
Returns the comments of this issue.
- getCommits() - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Returns the commits that have been applied to
RevisionRange.getPredecessorRevision()
so thatRevisionRange.getRevision()
results from it. - getContent() - Method in interface de.unibremen.informatik.st.libvcs4j.LineChange
-
Returns the content of the changed line.
- getContent() - Method in interface de.unibremen.informatik.st.libvcs4j.LineInfo
-
Returns the content of this line.
- getDateTime() - Method in interface de.unibremen.informatik.st.libvcs4j.Commit
-
Returns the datetime of this commit.
- getDateTime() - Method in interface de.unibremen.informatik.st.libvcs4j.Issue.Comment
-
Returns the datetime of this comment.
- getDateTime() - Method in interface de.unibremen.informatik.st.libvcs4j.Issue
-
Returns the datetime of this issue.
- getDateTime() - Method in interface de.unibremen.informatik.st.libvcs4j.LineInfo
-
Returns the datetime of this line.
- getDirectories() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns the sub directories of this tree if this tree is a directory.
- getEnd() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Range
-
Returns the end position of this range.
- getFile() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns the referenced
VCSFile
if this tree is a file. - getFile() - Method in interface de.unibremen.informatik.st.libvcs4j.LineChange
-
Returns the file this line change belongs to.
- getFile() - Method in interface de.unibremen.informatik.st.libvcs4j.LineInfo
-
Returns the file this line belongs to.
- getFile() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Returns the referenced file.
- getFile() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Range
-
Returns the referenced file.
- getFileChanges() - Method in interface de.unibremen.informatik.st.libvcs4j.Commit
-
Returns the list of file changes.
- getFileChanges() - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Returns all files that have changed between
RevisionRange.getPredecessorRevision()
andRevisionRange.getRevision()
. - getFileChangesByPrefix(String) - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Filters the list of file changes returned by
RevisionRange.getFileChanges()
and returns only those whose old or new relative path start withprefix
. - getFileChangesByRegex(String) - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Filters the list of file changes returned by
RevisionRange.getFileChanges()
and returns only those whose old or new relative path matchregex
. - getFileChangesBySuffix(String) - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Filters the list of file changes returned by
RevisionRange.getFileChanges()
and returns only those whose old or the new relative path end withsuffix
. - getFiles() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns the sub files of this tree if this tree is a directory.
- getFiles() - Method in interface de.unibremen.informatik.st.libvcs4j.Revision
-
Returns all non-VCS-specific files.
- getFilesByPrefix(String) - Method in interface de.unibremen.informatik.st.libvcs4j.Revision
-
Filters the list of files returned by
Revision.getFiles()
and returns only those whose relative path start withprefix
. - getFilesByRegex(String) - Method in interface de.unibremen.informatik.st.libvcs4j.Revision
-
Filters the list of files returned by
Revision.getFiles()
and returns only those whose relative path matchregex
. - getFilesBySuffix(String) - Method in interface de.unibremen.informatik.st.libvcs4j.Revision
-
Filters the list of files returned by
Revision.getFiles()
and returns only those whose relative path end withsuffix
. - getId() - Method in interface de.unibremen.informatik.st.libvcs4j.Commit
-
Returns the commit id.
- getId() - Method in interface de.unibremen.informatik.st.libvcs4j.Issue
-
Returns the id of this issue.
- getId() - Method in interface de.unibremen.informatik.st.libvcs4j.LineInfo
-
Returns the commit id of this line.
- getId() - Method in interface de.unibremen.informatik.st.libvcs4j.Revision
-
Returns the id of this revision.
- getIssueById(String) - Method in interface de.unibremen.informatik.st.libvcs4j.ITEngine
-
Returns the issue with the given id (see
Issue.getId()
). - getIssues() - Method in interface de.unibremen.informatik.st.libvcs4j.Commit
-
Returns the issues referenced by this commit.
- getIssues() - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Returns the issues referenced by the commits of this range.
- getIssuesFor(Commit) - Method in interface de.unibremen.informatik.st.libvcs4j.ITEngine
-
Returns all issues referenced by the given commit.
- getIssuesFor(RevisionRange) - Method in interface de.unibremen.informatik.st.libvcs4j.ITEngine
-
Returns all issues referenced by the given revision range.
- getIssuesFor(List<Commit>) - Method in interface de.unibremen.informatik.st.libvcs4j.ITEngine
-
Returns all issues referenced by the given list of commits.
- getITEngine() - Method in interface de.unibremen.informatik.st.libvcs4j.ITModelElement
-
Returns the
ITEngine
used to extract this model element. - getITEngine() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Returns the engine used to extract issues from an issue tracker.
- getLatestCommit() - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Returns the latest commit of
RevisionRange.getCommits()
. - getLine() - Method in interface de.unibremen.informatik.st.libvcs4j.LineChange
-
Returns the changed line (1 origin).
- getLine() - Method in interface de.unibremen.informatik.st.libvcs4j.LineInfo
-
Returns the line number (1 origin).
- getLine() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Returns the line of this position
>= 1
. - getLineOffset() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Returns the line offset of this position
>= 0
. - getMessage() - Method in interface de.unibremen.informatik.st.libvcs4j.Commit
-
Returns the commit message.
- getMessage() - Method in interface de.unibremen.informatik.st.libvcs4j.Issue.Comment
-
Returns the message of this comment.
- getMessage() - Method in interface de.unibremen.informatik.st.libvcs4j.LineInfo
-
Returns the commit message of this line.
- getModelFactory() - Method in interface de.unibremen.informatik.st.libvcs4j.ITEngine
-
Returns the factory used to create issue tracker model instances.
- getModelFactory() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Returns the factory used to create vcs model instances.
- getModifiedFiles() - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Returns all files that have been modified.
- getName() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns the name of this file (if
FSTree.getFile()
is present) or directory (ifFSTree.getNodes()
is present). - getNewFile() - Method in interface de.unibremen.informatik.st.libvcs4j.FileChange
-
Returns the file as it was like when its corresponding revision was checked out by
VCSEngine.next()
. - getNodes() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns the sub files and directories of this tree if this tree is a directory.
- getOffset() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Returns the offset of this position
>= 0
. - getOldFile() - Method in interface de.unibremen.informatik.st.libvcs4j.FileChange
-
Returns the file as it was like when its corresponding revision was checked out by
VCSEngine.next()
. - getOrdinal() - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Returns the ordinal of this range.
- getOutput() - Method in interface de.unibremen.informatik.st.libvcs4j.Revision
- getOutput() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
This method is somewhat similar to
VCSEngine.getTarget()
, but may return the composite ofVCSEngine.getTarget()
andVCSEngine.getRoot()
if the underlying VCS does not support partial checkouts (just like Git, for instance). - getParent() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns the parent of this tree.
- getParentIds() - Method in interface de.unibremen.informatik.st.libvcs4j.Commit
-
Returns the ids of the parents of this commit.
- getPath() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns the relative path of this file (if
FSTree.getFile()
is present) or directory (ifFSTree.getNodes()
is present). - getPath() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Returns the absolute path of this file as it was like when its corresponding revision was checked out by
VCSEngine.next()
. - getPredecessorRevision() - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Returns the "from" revision the file changes of this range belong to.
- getRelativePath() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Returns the relative path of this file as it was like when its corresponding revision was checked out by
VCSEngine.next()
. - getRelocatedFiles() - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Returns all files that have been relocated.
- getRemovedFiles() - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Returns all files that have been removed.
- getRepository() - Method in interface de.unibremen.informatik.st.libvcs4j.ITEngine
-
Returns the processed repository.
- getRepository() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Returns the path to the processed Repository.
- getRevision() - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Returns the "to" revision the file changes of this range belong to.
- getRevision() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Returns the currently checked out revision.
- getRevision() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Returns the
Revision
of this file. - getRoot() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns the root of this tree.
- getRoot() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Returns the path (relative to
VCSEngine.getRepository()
) to the tracked file or directory. - getTabSize() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Returns the tab size of this position
>= 1
. - getTarget() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Returns the path to the output directory of the currently processed revision.
- getTitle() - Method in interface de.unibremen.informatik.st.libvcs4j.Issue
-
Returns the title of this issue.
- getType() - Method in interface de.unibremen.informatik.st.libvcs4j.FileChange
-
Returns the
FileChange.Type
of this file change. - getType() - Method in interface de.unibremen.informatik.st.libvcs4j.LineChange
-
Returns the
LineChange.Type
of this line change. - getValue() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Either returns the value of this file (if this tree represents a file) or the aggregated values of all (recursively) sub files (if this tree represents a directory).
- getVCSEngine() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSModelElement
-
Returns the
VCSEngine
used to extract this model element. - guessCharset() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Tries to guess the charset of this file.
- guessCharset(VCSFile) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Tries to guess the charset of
file
.
H
- hasPattern(String, String) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
s
matchespattern
usingString.matches(String)
. - hasPattern(String, String, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
s
matchespattern
usingString.matches(String)
. - hasRange(T, T, T) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
from <= t <= to
. - hasRange(T, T, T, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
from <= t <= to
.
I
- ifFirst(Consumer<RevisionRange>) - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Runs the given action if this range is the first one.
- ifNotFirst(Consumer<RevisionRange>) - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Runs the given action if this range is not the first one.
- INSERT - de.unibremen.informatik.st.libvcs4j.LineChange.Type
-
The
LineChange
is an insertion. - isBinary() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Tries to guess whether this file is a binary file.
- isDirectory() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns whether this tree is a directory.
- isEqualTo(VCSFile, VCSFile) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
file
is equal tocompare
. - isEqualTo(VCSFile, VCSFile, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
file
is equal tocompare
. - isEqualTo(T, T) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t.compareTo(compare) == 0
. - isEqualTo(T, T, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t.compareTo(compare) == 0
. - isFalse(boolean) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
b
isfalse
. - isFalse(boolean, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
b
isfalse
. - isFile() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns whether this tree is a file.
- isFirst() - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Returns whether this range is the first one.
- isGreaterThan(T, T) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t > compare
. - isGreaterThan(T, T, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t > compare
. - isGreaterThanOrEquals(T, T) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t >= compare
. - isGreaterThanOrEquals(T, T, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t >= compare
. - isLessThan(T, T) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t.compareTo(compare) < 0
. - isLessThan(T, T, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t.compareTo(compare) < 0
. - isLessThanOrEquals(T, T) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t.compareTo(compare) <= 0
. - isLessThanOrEquals(T, T, String, String) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t.compareTo(compare) <= 0
. - isMerge() - Method in interface de.unibremen.informatik.st.libvcs4j.Commit
-
Returns whether this commit is a merge commit.
- isNegative(double) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
d
is negative. - isNegative(double, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
d
is negative. - isNegative(int) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
i
is negative. - isNegative(int, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
i
is negative. - isPositive(double) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
d
is positive (> 0
). - isPositive(double, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
d
is positive (> 0
). - isPositive(int) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
i
is positive (> 0
). - isPositive(int, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
i
is positive (> 0
). - isRoot() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns whether this tree is a root node.
- Issue - Interface in de.unibremen.informatik.st.libvcs4j
-
Represents an issue from an issue tracker.
- Issue.Comment - Interface in de.unibremen.informatik.st.libvcs4j
-
Represents a comment attached to an
Issue
. - isTrue(boolean) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
b
istrue
. - isTrue(boolean, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
b
istrue
. - isVirtualRoot() - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Returns whether this tree is a virtual root directory that has been created to cover multiple root nodes.
- ITEngine - Interface in de.unibremen.informatik.st.libvcs4j
-
This engine is supposed to extract issues from an issue tracker, such as Github, Gitlab, and so on.
- ITModelElement - Interface in de.unibremen.informatik.st.libvcs4j
-
Defines the API of all issue tracker related model elements.
- ItModelFactory - Interface in de.unibremen.informatik.st.libvcs4j
-
This factory is responsible for instantiating model elements implementing the
ITModelElement
interface.
L
- length() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Range
-
Returns the length of this range.
- lengthOf(Collection<VCSFile.Range>) - Static method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Range
-
Calculates the sum of the lengths of the given ranges.
- LineChange - Interface in de.unibremen.informatik.st.libvcs4j
-
Represents a change of a single line of text.
- LineChange.Type - Enum in de.unibremen.informatik.st.libvcs4j
-
The type of a
LineChange
. - LineInfo - Interface in de.unibremen.informatik.st.libvcs4j
-
Stores the commit information of a single line of a
VCSFile
. - listFilesInOutput() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Returns all non-VCS-specific files located in
VCSEngine.getOutput()
.
M
- mapTo(VCSFile) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Returns a position with same line, column, offset, line offset, and tab size, but located in
file
. - mapTo(VCSFile) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Range
-
Returns a range with same begin and end, but located in
file
. - merge(RevisionRange) - Method in interface de.unibremen.informatik.st.libvcs4j.RevisionRange
-
Merges this range into
predecessor
and returns a new instance that represents the state transition frompredecessor.getPredecessorRevision()
tothis.getRevision()
. - merge(VCSFile.Range) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Range
-
Creates a new range that merges the positions of this and the given range.
- MODIFY - de.unibremen.informatik.st.libvcs4j.FileChange.Type
-
The
FileChange
is a modify.
N
- navigateTo(String) - Method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Navigates to the tree located at
path
. - next() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Extracts the next revision range, if any.
- nextLine() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Returns the position located at the first column of the next line.
- noNullElements(T) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t
is notnull
and does not containnull
values. - noNullElements(T, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t
is notnull
and does not containnull
values. - notBlank(String) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
s
is notnull
and contains at least one non-space character. - notBlank(String, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
s
is notnull
and contains at least one non-space character. - notEmpty(String) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
s
is notnull
and not empty. - notEmpty(String, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
s
is notnull
and not empty. - notEmpty(T) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t
is notnull
, does not containnull
values, and is not empty. - notEmpty(T, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t
is notnull
, does not containnull
values, and is not empty. - notEquals(T, T) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t.compareTo(compare) != 0
. - notEquals(T, T, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t.compareTo(compare) != 0
. - notNegative(double) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
d
is not negative. - notNegative(double, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
d
is not negative. - notNegative(int) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
i
is not negative. - notNegative(int, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
i
is not negative. - notNull(T) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t
is notnull
. - notNull(T, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
t
is notnull
.
O
- of(Collection<VCSFile>) - Static method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Creates a tree from the given list of
VCSFile
instances. - of(Collection<VCSFile>, Function<VCSFile, V>, BinaryOperator<V>) - Static method in class de.unibremen.informatik.st.libvcs4j.FSTree
-
Creates a tree from the given list of
VCSFile
instances. - OFFSET_COMPARATOR - Static variable in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Compares two positions using their offsets (
VCSFile.Position.getOffset()
).
P
- parseIssueIds(String) - Method in interface de.unibremen.informatik.st.libvcs4j.ITEngine
-
Parses the given text and returns all referenced issue ids.
- positionAt(int, int, int) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Creates a position from the given line, line offset, and tab size.
- positionOf(int, int) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Creates a position from the given offset and tab size.
- positionOf(int, int, int) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Creates a position from the given line, column, and tab size.
- previousLine() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Returns the position located at the first column of the previous line.
R
- rangeTo(VCSFile.Position) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Creates a range from this and the given position.
- readAllBytes() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Returns the contents of this file.
- readAllBytes(VCSFile) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Reads the contents of the given file.
- readChar() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Reads the character this position points to.
- readContent() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Range
-
Reads the content of this range.
- readContent() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Returns the content of this file as a String.
- readLineInfo() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Reads the line information of this file.
- readLineInfo(VCSFile) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Reads the line information of the given file.
- readLines() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Returns the content of this file as a list of strings excluding EOL characters.
- readLinesWithEOL() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Returns the content of this file as a list of strings including EOL characters.
- RELATIVE_PATH_PREDICATE - Static variable in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Position
-
Tests if two positions are equal according to their offset (using
VCSFile.Position.OFFSET_COMPARATOR
) and their relative path (usingVCSFile.toRelativePath()
andPath.equals(Object)
). - RELATIVE_PATH_PREDICATE - Static variable in interface de.unibremen.informatik.st.libvcs4j.VCSFile.Range
-
Tests if two ranges are equal according to their begin and end positions (by matching the
VCSFile.Range.getBegin()
andVCSFile.Range.getEnd()
positions withVCSFile.Position.RELATIVE_PATH_PREDICATE
). - RELOCATE - de.unibremen.informatik.st.libvcs4j.FileChange.Type
-
The
FileChange
is a relocation. - REMOVE - de.unibremen.informatik.st.libvcs4j.FileChange.Type
-
The
FileChange
is a removal. - Revision - Interface in de.unibremen.informatik.st.libvcs4j
-
Represents the state of a VCS at a certain point in time.
- RevisionRange - Interface in de.unibremen.informatik.st.libvcs4j
-
This class represents the state transition between two revisions.
- ROOT_DIRECTORY - Static variable in class de.unibremen.informatik.st.libvcs4j.FSTree
-
This path is used for trees with multiple root nodes.
S
- setITEngine(ITEngine) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Sets the engine used to extract issues from an issue tracker.
- setModelFactory(ItModelFactory) - Method in interface de.unibremen.informatik.st.libvcs4j.ITEngine
-
Sets the factory used to create issue tracker model instances.
- setModelFactory(VCSModelFactory) - Method in interface de.unibremen.informatik.st.libvcs4j.VCSEngine
-
Sets the factory used to create vcs model instances.
T
- toFile() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Returns a
File
object (absolute path) representing this file. - toPath() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Returns the absolute path of this file as
Path
. - toRelativeFile() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Returns a
File
object (relative path) representing this file. - toRelativePath() - Method in interface de.unibremen.informatik.st.libvcs4j.VCSFile
-
Returns the relative path of this file as
Path
.
V
- Validate - Class in de.unibremen.informatik.st.libvcs4j
-
Utility class to validate input parameters and the current state.
- validateState(boolean) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
expression
istrue
. - validateState(boolean, String, Object...) - Static method in class de.unibremen.informatik.st.libvcs4j.Validate
-
Validates that
expression
istrue
. - valueOf(String) - Static method in enum de.unibremen.informatik.st.libvcs4j.FileChange.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.unibremen.informatik.st.libvcs4j.LineChange.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum de.unibremen.informatik.st.libvcs4j.FileChange.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum de.unibremen.informatik.st.libvcs4j.LineChange.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VCSEngine - Interface in de.unibremen.informatik.st.libvcs4j
-
A
VCSEngine
is supposed to extract a linear sequence ofRevisionRange
instances for arbitrary version control systems (VCS) as well as single input files and directories. - VCSFile - Interface in de.unibremen.informatik.st.libvcs4j
-
Represents a file in a VCS at a certain point in time.
- VCSFile.Position - Interface in de.unibremen.informatik.st.libvcs4j
-
A position within a file.
- VCSFile.Range - Interface in de.unibremen.informatik.st.libvcs4j
-
A range within a file.
- VCSModelElement - Interface in de.unibremen.informatik.st.libvcs4j
-
Defines the API of all version control system related model elements.
- VCSModelFactory - Interface in de.unibremen.informatik.st.libvcs4j
-
This factory is responsible for instantiating model elements implementing the
VCSModelElement
interface. - visit(FSTree<E>) - Method in class de.unibremen.informatik.st.libvcs4j.FSTree.Visitor
-
Delegates
pTree
toFSTree.Visitor.visitDirectory(FSTree)
orFSTree.Visitor.visitFile(FSTree)
depending on whetherpTree
represents a directory or a file. - visitDirectory(FSTree<E>) - Method in class de.unibremen.informatik.st.libvcs4j.FSTree.Visitor
-
Visits the given directory.
- visitFile(FSTree<E>) - Method in class de.unibremen.informatik.st.libvcs4j.FSTree.Visitor
-
Visits the given file.
- visitFile(VCSFile) - Method in class de.unibremen.informatik.st.libvcs4j.FSTree.Visitor
-
Visits the given file.
- Visitor() - Constructor for class de.unibremen.informatik.st.libvcs4j.FSTree.Visitor
All Classes All Packages