Package org.apache.maven.scm
Class ScmFile
java.lang.Object
org.apache.maven.scm.ScmFile
- All Implemented Interfaces:
Serializable
,Comparable<ScmFile>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
path
-
status
-
-
Constructor Details
-
ScmFile
- Parameters:
path
- The relative path of the file, should never start with anyFile.separator
.status
- The file status
-
-
Method Details
-
getPath
Returns the relative path of the file.- Returns:
- the file path
-
getStatus
- Returns:
- The file status
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ScmFile>
-
equals
-
hashCode
public int hashCode() -
toString
-