public class GitContentRepository extends ContentRepositoryImpl
ContentRepository.FactoryCONTENT, messageDigestDELETED_CONTENT, LOCK_TIMEOUT, MARKED_CONTENT, OBSOLETE_CONTENT_TIMEOUT, SERVICE_NAME| Modifier | Constructor and Description |
|---|---|
protected |
GitContentRepository(GitRepository gitRepository,
File repoRoot,
File tmpRoot,
long obsolescenceTimeout,
long lockTimeout) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
addContent(InputStream stream) |
byte[] |
addContentToExploded(byte[] deploymentHash,
List<ExplodedContent> addFiles,
boolean overwrite) |
static void |
addService(org.jboss.msc.service.ServiceTarget serviceTarget,
GitRepository gitRepository,
File repoRoot,
File tmpRoot) |
byte[] |
explodeContent(byte[] deploymentHash) |
byte[] |
explodeSubContent(byte[] deploymentHash,
String relativePath) |
void |
flush(boolean success) |
void |
removeContent(ContentReference reference) |
byte[] |
removeContentFromExploded(byte[] deploymentHash,
List<String> paths) |
addContentReference, cleanObsoleteContent, copyExplodedContent, copyExplodedContentFiles, getContent, getDeploymentContentFile, getDeploymentContentFile, getDeploymentHashDir, getRepoRoot, hasContent, listContent, readContent, readOnly, readWrite, syncContent, validateDirprotected GitContentRepository(GitRepository gitRepository, File repoRoot, File tmpRoot, long obsolescenceTimeout, long lockTimeout)
public byte[] removeContentFromExploded(byte[] deploymentHash,
List<String> paths)
throws ExplodedContentException
removeContentFromExploded in interface ContentRepositoryremoveContentFromExploded in class ContentRepositoryImplExplodedContentExceptionpublic byte[] addContentToExploded(byte[] deploymentHash,
List<ExplodedContent> addFiles,
boolean overwrite)
throws ExplodedContentException
addContentToExploded in interface ContentRepositoryaddContentToExploded in class ContentRepositoryImplExplodedContentExceptionpublic byte[] explodeSubContent(byte[] deploymentHash,
String relativePath)
throws ExplodedContentException
explodeSubContent in interface ContentRepositoryexplodeSubContent in class ContentRepositoryImplExplodedContentExceptionpublic byte[] explodeContent(byte[] deploymentHash)
throws ExplodedContentException
explodeContent in interface ContentRepositoryexplodeContent in class ContentRepositoryImplExplodedContentExceptionpublic void removeContent(ContentReference reference)
removeContent in interface ContentRepositoryremoveContent in class ContentRepositoryImplpublic byte[] addContent(InputStream stream) throws IOException
addContent in interface ContentRepositoryaddContent in class ContentRepositoryImplIOExceptionpublic void flush(boolean success)
public static void addService(org.jboss.msc.service.ServiceTarget serviceTarget,
GitRepository gitRepository,
File repoRoot,
File tmpRoot)
Copyright © 2018 JBoss by Red Hat. All rights reserved.