Class CustomConfigSystemReader


  • public class CustomConfigSystemReader
    extends org.eclipse.jgit.util.SystemReader
    • Constructor Detail

      • CustomConfigSystemReader

        public CustomConfigSystemReader​(File userGitConfig)
    • Method Detail

      • getenv

        public String getenv​(String variable)
        Specified by:
        getenv in class org.eclipse.jgit.util.SystemReader
      • getHostname

        public String getHostname()
        Specified by:
        getHostname in class org.eclipse.jgit.util.SystemReader
      • getProperty

        public String getProperty​(String key)
        Specified by:
        getProperty in class org.eclipse.jgit.util.SystemReader
      • getCurrentTime

        public long getCurrentTime()
        Specified by:
        getCurrentTime in class org.eclipse.jgit.util.SystemReader
      • getTimezone

        public int getTimezone​(long when)
        Specified by:
        getTimezone in class org.eclipse.jgit.util.SystemReader
      • openUserConfig

        public org.eclipse.jgit.storage.file.FileBasedConfig openUserConfig​(org.eclipse.jgit.lib.Config parent,
                                                                            org.eclipse.jgit.util.FS fs)
        Specified by:
        openUserConfig in class org.eclipse.jgit.util.SystemReader
      • openJGitConfig

        public org.eclipse.jgit.storage.file.FileBasedConfig openJGitConfig​(org.eclipse.jgit.lib.Config parent,
                                                                            org.eclipse.jgit.util.FS fs)
        Specified by:
        openJGitConfig in class org.eclipse.jgit.util.SystemReader
      • openSystemConfig

        public org.eclipse.jgit.storage.file.FileBasedConfig openSystemConfig​(org.eclipse.jgit.lib.Config parent,
                                                                              org.eclipse.jgit.util.FS fs)
        Specified by:
        openSystemConfig in class org.eclipse.jgit.util.SystemReader