Package sonia.scm.repository.spi
Class DiffCommandRequest
java.lang.Object
sonia.scm.repository.spi.FileBaseCommandRequest
sonia.scm.repository.spi.DiffCommandRequest
- All Implemented Interfaces:
Serializable
,Cloneable
,Resetable
,Validateable
- Direct Known Subclasses:
DiffResultCommandRequest
- Since:
- 1.17
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Return the output format of the diff command.boolean
isValid()
Returns true if the object is valid.void
setAncestorChangeset
(String ancestorChangeset) void
setFormat
(DiffFormat format) Sets the diff format which should be used for the output.void
setIgnoreWhitespaceLevel
(IgnoreWhitespaceLevel ignoreWhitespace) Methods inherited from class sonia.scm.repository.spi.FileBaseCommandRequest
getPath, getRevision, reset, setPath, setRevision
-
Constructor Details
-
DiffCommandRequest
public DiffCommandRequest()
-
-
Method Details
-
clone
- Overrides:
clone
in classFileBaseCommandRequest
-
isValid
public boolean isValid()Description copied from interface:Validateable
Returns true if the object is valid.- Specified by:
isValid
in interfaceValidateable
-
setFormat
Sets the diff format which should be used for the output.- Parameters:
format
- format of the diff output- Since:
- 1.34
-
setAncestorChangeset
-
getFormat
Return the output format of the diff command.- Since:
- 1.34
-
getAncestorChangeset
-
getIgnoreWhitespaceLevel
-
setIgnoreWhitespaceLevel
-