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
ConstructorsConstructorDescriptionIndexEntry(String mode, String type, String object, String file) Constructor for IndexEntry.IndexEntry(org.eclipse.jgit.submodule.SubmoduleWalk walk) Populates anIndexEntryfrom the current node thatSubmoduleWalkis pointing to. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFile()Getter for the fieldfile.getMode()Returns the mode of this entry as a String.Getter for the fieldobject.getType()Getter for the fieldtype.inthashCode()voidSetter for the fieldfile.voidSets the mode of this Entry.voidSetter for the fieldobject.voidSetter for the fieldtype.toString()toString.
-
Constructor Details
-
IndexEntry
Constructor for IndexEntry. -
IndexEntry
public IndexEntry(org.eclipse.jgit.submodule.SubmoduleWalk walk) Populates anIndexEntryfrom the current node thatSubmoduleWalkis pointing to.- Parameters:
walk- aSubmoduleWalkobject.
-
-
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
Stringobject.
-
setType
Setter for the fieldtype.- Parameters:
type- aStringobject.
-
getObject
Getter for the fieldobject.- Returns:
- a
Stringobject.
-
setObject
Setter for the fieldobject.- Parameters:
object- aStringobject.
-
getFile
Getter for the fieldfile.- Returns:
- a
Stringobject.
-
setFile
Setter for the fieldfile.- Parameters:
file- aStringobject.
-
toString
toString. -
hashCode
public int hashCode() -
equals
-