public class JGitFileSystemProxy extends Object implements JGitFileSystem
| Constructor and Description |
|---|
JGitFileSystemProxy(String fsName,
Supplier<JGitFileSystem> cachedSupplier) |
public JGitFileSystemProxy(String fsName, Supplier<JGitFileSystem> cachedSupplier)
public String getName()
getName in interface FileSystempublic Git getGit()
getGit in interface JGitFileSystempublic org.eclipse.jgit.transport.CredentialsProvider getCredential()
getCredential in interface JGitFileSystempublic void checkClosed()
throws IllegalStateException
checkClosed in interface JGitFileSystemIllegalStateExceptionpublic void publishEvents(Path watchable, List<WatchEvent<?>> elist)
publishEvents in interface JGitFileSystempublic boolean isOnBatch()
isOnBatch in interface JGitFileSystempublic void setState(String state)
setState in interface JGitFileSystempublic CommitInfo buildCommitInfo(String defaultMessage, CommentedOption op)
buildCommitInfo in interface JGitFileSystempublic void setBatchCommitInfo(String defaultMessage, CommentedOption op)
setBatchCommitInfo in interface JGitFileSystempublic void setHadCommitOnBatchState(Path path, boolean hadCommitOnBatchState)
setHadCommitOnBatchState in interface JGitFileSystempublic void setHadCommitOnBatchState(boolean value)
setHadCommitOnBatchState in interface JGitFileSystempublic boolean isHadCommitOnBatchState(Path path)
isHadCommitOnBatchState in interface JGitFileSystempublic void setBatchCommitInfo(CommitInfo batchCommitInfo)
setBatchCommitInfo in interface JGitFileSystempublic CommitInfo getBatchCommitInfo()
getBatchCommitInfo in interface JGitFileSystempublic int incrementAndGetCommitCount()
incrementAndGetCommitCount in interface JGitFileSystempublic void resetCommitCount()
resetCommitCount in interface JGitFileSystempublic int getNumberOfCommitsSinceLastGC()
getNumberOfCommitsSinceLastGC in interface JGitFileSystempublic void lock()
lock in interface LockableFileSystempublic void unlock()
unlock in interface LockableFileSystempublic void addPostponedWatchEvents(List<WatchEvent<?>> postponedWatchEvents)
addPostponedWatchEvents in interface JGitFileSystempublic List<WatchEvent<?>> getPostponedWatchEvents()
getPostponedWatchEvents in interface JGitFileSystempublic void clearPostponedWatchEvents()
clearPostponedWatchEvents in interface JGitFileSystempublic boolean hasPostponedEvents()
hasPostponedEvents in interface JGitFileSystempublic boolean hasBeenInUse()
hasBeenInUse in interface JGitFileSystempublic void notifyExternalUpdate()
notifyExternalUpdate in interface JGitFileSystempublic void notifyPostCommit(int exitCode)
notifyPostCommit in interface JGitFileSystempublic void checkBranchAccess(org.eclipse.jgit.transport.ReceiveCommand command,
FileSystemUser user)
checkBranchAccess in interface JGitFileSystempublic void filterBranchAccess(org.eclipse.jgit.transport.UploadPack uploadPack,
FileSystemUser user)
filterBranchAccess in interface JGitFileSystempublic FileSystemProvider provider()
provider in interface FileSystempublic boolean isOpen()
isOpen in interface FileSystempublic boolean isReadOnly()
isReadOnly in interface FileSystempublic String getSeparator()
getSeparator in interface FileSystempublic Iterable<Path> getRootDirectories()
getRootDirectories in interface FileSystempublic Iterable<FileStore> getFileStores()
getFileStores in interface FileSystempublic Set<String> supportedFileAttributeViews()
supportedFileAttributeViews in interface FileSystempublic Path getPath(String first, String... more) throws InvalidPathException
getPath in interface FileSystemInvalidPathExceptionpublic PathMatcher getPathMatcher(String syntaxAndPattern) throws IllegalArgumentException, PatternSyntaxException, UnsupportedOperationException
getPathMatcher in interface FileSystemIllegalArgumentExceptionPatternSyntaxExceptionUnsupportedOperationExceptionpublic UserPrincipalLookupService getUserPrincipalLookupService() throws UnsupportedOperationException
getUserPrincipalLookupService in interface FileSystemUnsupportedOperationExceptionpublic WatchService newWatchService() throws UnsupportedOperationException, IOException
newWatchService in interface FileSystemUnsupportedOperationExceptionIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic void dispose()
dispose in interface org.uberfire.commons.lifecycle.Disposablepublic String id()
id in interface FileSystemIdpublic FileSystemState getState()
getState in interface FileSystemStateAwarepublic JGitFileSystem getRealJGitFileSystem()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.