public static final class Files.ListFiles extends java.lang.Object implements ETagView<RevisionResource>
Modifier and Type | Method and Description |
---|---|
Response<?> |
apply(RevisionResource resource)
Process the view operation by reading from the resource.
|
java.lang.String |
getETag(RevisionResource resource) |
Files.ListFiles |
setBase(java.lang.String base) |
Files.ListFiles |
setParent(int parentNum) |
Files.ListFiles |
setQuery(java.lang.String query) |
Files.ListFiles |
setReviewed(boolean r) |
public Files.ListFiles setReviewed(boolean r)
public Response<?> apply(RevisionResource resource) throws RestApiException, org.eclipse.jgit.errors.RepositoryNotFoundException, java.io.IOException, PatchListNotAvailableException, PermissionBackendException
RestReadView
apply
in interface RestReadView<RevisionResource>
resource
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.AuthException
- the client is not permitted to access this view.BadRequestException
- the request was incorrectly specified and cannot be handled by this
view.ResourceConflictException
- the resource state does not permit this view to make the
changes at this time.RestApiException
org.eclipse.jgit.errors.RepositoryNotFoundException
java.io.IOException
PatchListNotAvailableException
PermissionBackendException
public Files.ListFiles setQuery(java.lang.String query)
public Files.ListFiles setBase(java.lang.String base)
public Files.ListFiles setParent(int parentNum)
public java.lang.String getETag(RevisionResource resource)
getETag
in interface ETagView<RevisionResource>