KIE NIO.2 :: JGIT Impl 6.0.0.Beta3

org.kie.commons.java.nio.fs.jgit
Class JGitFileSystem

java.lang.Object
  extended by org.kie.commons.java.nio.fs.jgit.JGitFileSystem
All Implemented Interfaces:
Closeable, FileSystemId, FileSystem

public class JGitFileSystem
extends Object
implements FileSystem, FileSystemId


Method Summary
 void close()
           
 boolean equals(Object o)
           
 org.eclipse.jgit.transport.CredentialsProvider getCredential()
           
 Iterable<FileStore> getFileStores()
           
 String getName()
           
 Path getPath(String first, String... more)
           
 PathMatcher getPathMatcher(String syntaxAndPattern)
           
 Iterable<Path> getRootDirectories()
           
 String getSeparator()
           
 UserPrincipalLookupService getUserPrincipalLookupService()
           
 org.eclipse.jgit.api.Git gitRepo()
           
 int hashCode()
           
 String id()
           
 boolean isOpen()
           
 boolean isReadOnly()
           
 WatchService newWatchService()
           
 FileSystemProvider provider()
           
 void publishEvents(Path watchable, List<WatchEvent<?>> events)
           
 Set<String> supportedFileAttributeViews()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

id

public String id()
Specified by:
id in interface FileSystemId

getName

public String getName()

gitRepo

public org.eclipse.jgit.api.Git gitRepo()

getCredential

public org.eclipse.jgit.transport.CredentialsProvider getCredential()

provider

public FileSystemProvider provider()
Specified by:
provider in interface FileSystem

isOpen

public boolean isOpen()
Specified by:
isOpen in interface FileSystem

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface FileSystem

getSeparator

public String getSeparator()
Specified by:
getSeparator in interface FileSystem

getRootDirectories

public Iterable<Path> getRootDirectories()
Specified by:
getRootDirectories in interface FileSystem

getFileStores

public Iterable<FileStore> getFileStores()
Specified by:
getFileStores in interface FileSystem

supportedFileAttributeViews

public Set<String> supportedFileAttributeViews()
Specified by:
supportedFileAttributeViews in interface FileSystem

getPath

public Path getPath(String first,
                    String... more)
             throws InvalidPathException
Specified by:
getPath in interface FileSystem
Throws:
InvalidPathException

getPathMatcher

public PathMatcher getPathMatcher(String syntaxAndPattern)
                           throws IllegalArgumentException,
                                  PatternSyntaxException,
                                  UnsupportedOperationException
Specified by:
getPathMatcher in interface FileSystem
Throws:
IllegalArgumentException
PatternSyntaxException
UnsupportedOperationException

getUserPrincipalLookupService

public UserPrincipalLookupService getUserPrincipalLookupService()
                                                         throws UnsupportedOperationException
Specified by:
getUserPrincipalLookupService in interface FileSystem
Throws:
UnsupportedOperationException

newWatchService

public WatchService newWatchService()
                             throws UnsupportedOperationException,
                                    IOException
Specified by:
newWatchService in interface FileSystem
Throws:
UnsupportedOperationException
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
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(Path watchable,
                          List<WatchEvent<?>> events)

KIE NIO.2 :: JGIT Impl 6.0.0.Beta3

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.