public class IndexEntry extends Object implements Serializable
| Constructor and Description |
|---|
IndexEntry(String mode,
String type,
String object,
String file)
Constructor for IndexEntry.
|
IndexEntry(SubmoduleWalk walk)
Populates an
IndexEntry from the current node that SubmoduleWalk is pointing to. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFile()
Getter for the field
file. |
String |
getMode()
Returns the mode of this entry as a String.
|
String |
getObject()
Getter for the field
object. |
String |
getType()
Getter for the field
type. |
int |
hashCode() |
void |
setFile(String file)
Setter for the field
file. |
void |
setMode(String mode)
Sets the mode of this Entry.
|
void |
setObject(String object)
Setter for the field
object. |
void |
setType(String type)
Setter for the field
type. |
String |
toString()
toString.
|
public IndexEntry(String mode, String type, String object, String file)
public IndexEntry(SubmoduleWalk walk)
IndexEntry from the current node that SubmoduleWalk is pointing to.walk - a SubmoduleWalk object.public String getMode()
String.public void setMode(String mode)
mode - value to be assignedpublic void setType(String type)
type.type - a String object.public void setObject(String object)
object.object - a String object.public void setFile(String file)
file.file - a String object.public String toString()
Copyright © 2013–2020. All rights reserved.