Interface LineChange
-
- All Superinterfaces:
VCSModelElement
public interface LineChange extends VCSModelElement
Represents a change of a single line of text.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LineChange.Type
The type of aLineChange
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getContent()
Returns the content of the changed line.VCSFile
getFile()
Returns the file this line change belongs to.int
getLine()
Returns the changed line (1 origin).LineChange.Type
getType()
Returns theLineChange.Type
of this line change.-
Methods inherited from interface de.unibremen.informatik.st.libvcs4j.VCSModelElement
getVCSEngine
-
-
-
-
Method Detail
-
getType
LineChange.Type getType()
Returns theLineChange.Type
of this line change.- Returns:
- The
LineChange.Type
of this line change.
-
getLine
int getLine()
Returns the changed line (1 origin).- Returns:
- The changed line (1 origin).
-
getContent
java.lang.String getContent()
Returns the content of the changed line.- Returns:
- The content of the changed line.
-
getFile
VCSFile getFile()
Returns the file this line change belongs to.- Returns:
- The file this line change belongs to
-
-