org.kie.commons.java.nio.fs.jgit
Class JGitFileSystem
java.lang.Object
org.kie.commons.java.nio.fs.jgit.JGitFileSystem
- All Implemented Interfaces:
- Closeable, org.kie.commons.java.nio.base.FileSystemId, org.kie.commons.java.nio.file.FileSystem
public class JGitFileSystem
- extends Object
- implements org.kie.commons.java.nio.file.FileSystem, org.kie.commons.java.nio.base.FileSystemId
id
public String id()
- Specified by:
id in interface org.kie.commons.java.nio.base.FileSystemId
getName
public String getName()
gitRepo
public org.eclipse.jgit.api.Git gitRepo()
getCredential
public org.eclipse.jgit.transport.CredentialsProvider getCredential()
provider
public org.kie.commons.java.nio.file.spi.FileSystemProvider provider()
- Specified by:
provider in interface org.kie.commons.java.nio.file.FileSystem
isOpen
public boolean isOpen()
- Specified by:
isOpen in interface org.kie.commons.java.nio.file.FileSystem
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly in interface org.kie.commons.java.nio.file.FileSystem
getSeparator
public String getSeparator()
- Specified by:
getSeparator in interface org.kie.commons.java.nio.file.FileSystem
getRootDirectories
public Iterable<org.kie.commons.java.nio.file.Path> getRootDirectories()
- Specified by:
getRootDirectories in interface org.kie.commons.java.nio.file.FileSystem
getFileStores
public Iterable<org.kie.commons.java.nio.file.FileStore> getFileStores()
- Specified by:
getFileStores in interface org.kie.commons.java.nio.file.FileSystem
supportedFileAttributeViews
public Set<String> supportedFileAttributeViews()
- Specified by:
supportedFileAttributeViews in interface org.kie.commons.java.nio.file.FileSystem
getPath
public org.kie.commons.java.nio.file.Path getPath(String first,
String... more)
throws org.kie.commons.java.nio.file.InvalidPathException
- Specified by:
getPath in interface org.kie.commons.java.nio.file.FileSystem
- Throws:
org.kie.commons.java.nio.file.InvalidPathException
getPathMatcher
public org.kie.commons.java.nio.file.PathMatcher getPathMatcher(String syntaxAndPattern)
throws IllegalArgumentException,
org.kie.commons.java.nio.file.PatternSyntaxException,
UnsupportedOperationException
- Specified by:
getPathMatcher in interface org.kie.commons.java.nio.file.FileSystem
- Throws:
IllegalArgumentException
org.kie.commons.java.nio.file.PatternSyntaxException
UnsupportedOperationException
getUserPrincipalLookupService
public org.kie.commons.java.nio.file.attribute.UserPrincipalLookupService getUserPrincipalLookupService()
throws UnsupportedOperationException
- Specified by:
getUserPrincipalLookupService in interface org.kie.commons.java.nio.file.FileSystem
- Throws:
UnsupportedOperationException
newWatchService
public org.kie.commons.java.nio.file.WatchService newWatchService()
throws UnsupportedOperationException,
org.kie.commons.java.nio.IOException
- Specified by:
newWatchService in interface org.kie.commons.java.nio.file.FileSystem
- Throws:
UnsupportedOperationException
org.kie.commons.java.nio.IOException
close
public void close()
throws org.kie.commons.java.nio.IOException
- Specified by:
close in interface Closeable
- Throws:
org.kie.commons.java.nio.IOException
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
publishEvents
public void publishEvents(org.kie.commons.java.nio.file.Path watchable,
List<org.kie.commons.java.nio.file.WatchEvent<?>> events)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.