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.booleanisValid()Returns true if the object is valid.voidsetAncestorChangeset(String ancestorChangeset) voidsetFormat(DiffFormat format) Sets the diff format which should be used for the output.voidsetIgnoreWhitespaceLevel(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:
clonein classFileBaseCommandRequest
-
isValid
public boolean isValid()Description copied from interface:ValidateableReturns true if the object is valid.- Specified by:
isValidin 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
-