Class IndexEntry

    • Constructor Detail

      • IndexEntry

        public IndexEntry​(org.eclipse.jgit.submodule.SubmoduleWalk walk)
        Populates an IndexEntry from the current node that SubmoduleWalk is pointing to.
        Parameters:
        walk - a SubmoduleWalk object.
    • Method Detail

      • getMode

        public String getMode()
        Returns the mode of this entry as a String.
        Returns:
        mode of this entry as a String.
      • setMode

        public void setMode​(String mode)
        Sets the mode of this Entry.
        Parameters:
        mode - value to be assigned
      • getType

        public String getType()
        Getter for the field type.
        Returns:
        a String object.
      • setType

        public void setType​(String type)
        Setter for the field type.
        Parameters:
        type - a String object.
      • getObject

        public String getObject()
        Getter for the field object.
        Returns:
        a String object.
      • setObject

        public void setObject​(String object)
        Setter for the field object.
        Parameters:
        object - a String object.
      • getFile

        public String getFile()
        Getter for the field file.
        Returns:
        a String object.
      • setFile

        public void setFile​(String file)
        Setter for the field file.
        Parameters:
        file - a String object.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object