public abstract class AbstractRepositoryScmRequest extends AbstractScmRequest
AbstractScmRequest
and adds properties to facilitate implementing SCM requests
which interact with a repository, to read or write
.Modifier and Type | Field and Description |
---|---|
protected com.atlassian.bitbucket.repository.Repository |
repository |
protected boolean |
write |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRepositoryScmRequest(com.atlassian.bitbucket.repository.Repository repository,
boolean write) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bitbucket.repository.Repository |
getRepository() |
boolean |
isWrite() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleRequest, sendError
protected final com.atlassian.bitbucket.repository.Repository repository
protected final boolean write
protected AbstractRepositoryScmRequest(@Nonnull com.atlassian.bitbucket.repository.Repository repository, boolean write)
@Nonnull public com.atlassian.bitbucket.repository.Repository getRepository()
public boolean isWrite()
Copyright © 2024 Atlassian. All rights reserved.