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

public class DiffCommandRequest extends FileBaseCommandRequest implements Validateable
Since:
1.17
See Also:
  • Constructor Details

    • DiffCommandRequest

      public DiffCommandRequest()
  • Method Details

    • clone

      public DiffCommandRequest clone()
      Overrides:
      clone in class FileBaseCommandRequest
    • isValid

      public boolean isValid()
      Description copied from interface: Validateable
      Returns true if the object is valid.
      Specified by:
      isValid in interface Validateable
    • setFormat

      public void setFormat(DiffFormat format)
      Sets the diff format which should be used for the output.
      Parameters:
      format - format of the diff output
      Since:
      1.34
    • setAncestorChangeset

      public void setAncestorChangeset(String ancestorChangeset)
    • getFormat

      public DiffFormat getFormat()
      Return the output format of the diff command.
      Since:
      1.34
    • getAncestorChangeset

      public String getAncestorChangeset()
    • getIgnoreWhitespaceLevel

      public IgnoreWhitespaceLevel getIgnoreWhitespaceLevel()
    • setIgnoreWhitespaceLevel

      public void setIgnoreWhitespaceLevel(IgnoreWhitespaceLevel ignoreWhitespace)