Package hudson.plugins.git
Class IndexEntry
java.lang.Object
hudson.plugins.git.IndexEntry
- All Implemented Interfaces:
Serializable
Git index / tree entry.
- See Also:
-
Constructor Summary
ConstructorDescriptionIndexEntry
(String mode, String type, String object, String file) Constructor for IndexEntry.IndexEntry
(org.eclipse.jgit.submodule.SubmoduleWalk walk) Populates anIndexEntry
from the current node thatSubmoduleWalk
is pointing to. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFile()
Getter for the fieldfile
.getMode()
Returns the mode of this entry as a String.Getter for the fieldobject
.getType()
Getter for the fieldtype
.int
hashCode()
void
Setter for the fieldfile
.void
Sets the mode of this Entry.void
Setter for the fieldobject
.void
Setter for the fieldtype
.toString()
toString.
-
Constructor Details
-
IndexEntry
Constructor for IndexEntry. -
IndexEntry
public IndexEntry(org.eclipse.jgit.submodule.SubmoduleWalk walk) Populates anIndexEntry
from the current node thatSubmoduleWalk
is pointing to.- Parameters:
walk
- aSubmoduleWalk
object.
-
-
Method Details
-
getMode
Returns the mode of this entry as a String.- Returns:
- mode of this entry as a
String
.
-
setMode
Sets the mode of this Entry.- Parameters:
mode
- value to be assigned
-
getType
Getter for the fieldtype
.- Returns:
- a
String
object.
-
setType
Setter for the fieldtype
.- Parameters:
type
- aString
object.
-
getObject
Getter for the fieldobject
.- Returns:
- a
String
object.
-
setObject
Setter for the fieldobject
.- Parameters:
object
- aString
object.
-
getFile
Getter for the fieldfile
.- Returns:
- a
String
object.
-
setFile
Setter for the fieldfile
.- Parameters:
file
- aString
object.
-
toString
toString. -
hashCode
public int hashCode() -
equals
-