Class FileApi.DiffRequest
- java.lang.Object
-
- com.google.gerrit.extensions.api.changes.FileApi.DiffRequest
-
-
Constructor Summary
Constructors Constructor Description DiffRequest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DiffInfo
get()
String
getBase()
Integer
getContext()
Boolean
getIntraline()
OptionalInt
getParent()
DiffPreferencesInfo.Whitespace
getWhitespace()
FileApi.DiffRequest
withBase(String base)
FileApi.DiffRequest
withContext(int context)
FileApi.DiffRequest
withIntraline(boolean intraline)
FileApi.DiffRequest
withParent(int parent)
FileApi.DiffRequest
withWhitespace(DiffPreferencesInfo.Whitespace whitespace)
-
-
-
Method Detail
-
get
public abstract DiffInfo get() throws RestApiException
- Throws:
RestApiException
-
withBase
public FileApi.DiffRequest withBase(String base)
-
withContext
public FileApi.DiffRequest withContext(int context)
-
withIntraline
public FileApi.DiffRequest withIntraline(boolean intraline)
-
withWhitespace
public FileApi.DiffRequest withWhitespace(DiffPreferencesInfo.Whitespace whitespace)
-
withParent
public FileApi.DiffRequest withParent(int parent)
-
getBase
public String getBase()
-
getContext
public Integer getContext()
-
getIntraline
public Boolean getIntraline()
-
getWhitespace
public DiffPreferencesInfo.Whitespace getWhitespace()
-
getParent
public OptionalInt getParent()
-
-