Class JGitHiddenAttributeView

  • All Implemented Interfaces:
    org.uberfire.java.nio.base.ExtendedAttributeView, org.uberfire.java.nio.file.attribute.AttributeView, org.uberfire.java.nio.file.attribute.BasicFileAttributeView, org.uberfire.java.nio.file.attribute.FileAttributeView

    public class JGitHiddenAttributeView
    extends org.uberfire.java.nio.base.attributes.HiddenAttributeView<JGitPathImpl>
    This is the JGit implementation of the HiddenAttributeView. It builds the HiddenAttributes object with "isHidden" attribute information. That attribute lets you know if the branch you are querying is a hidden branch or not. Hidden branches should not be used, are just a mechanism to merge.
    • Field Summary

      • Fields inherited from class org.uberfire.java.nio.base.attributes.HiddenAttributeView

        HIDDEN
      • Fields inherited from class org.uberfire.java.nio.base.AbstractBasicFileAttributeView

        path
    • Constructor Detail

      • JGitHiddenAttributeView

        public JGitHiddenAttributeView​(JGitPathImpl path)
    • Method Detail

      • readAttributes

        public org.uberfire.java.nio.base.attributes.HiddenAttributes readAttributes()
                                                                              throws org.uberfire.java.nio.IOException
        Specified by:
        readAttributes in interface org.uberfire.java.nio.file.attribute.BasicFileAttributeView
        Specified by:
        readAttributes in interface org.uberfire.java.nio.base.ExtendedAttributeView
        Specified by:
        readAttributes in class org.uberfire.java.nio.base.attributes.HiddenAttributeView<JGitPathImpl>
        Throws:
        org.uberfire.java.nio.IOException
      • viewTypes

        public Class<? extends org.uberfire.java.nio.file.attribute.BasicFileAttributeView>[] viewTypes()