Package org.apache.maven.scm
Class ScmFile
- java.lang.Object
-
- org.apache.maven.scm.ScmFile
-
- All Implemented Interfaces:
Serializable,Comparable<ScmFile>
public class ScmFile extends Object implements Comparable<ScmFile>, Serializable
- Author:
- Trygve Laugstøl
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScmFile(String path, ScmFileStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ScmFile other)booleanequals(Object other)StringgetPath()Returns the relative path of the file.ScmFileStatusgetStatus()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
ScmFile
public ScmFile(String path, ScmFileStatus status)
- Parameters:
path- the relative path of the file, should never start with anyFile.separatorstatus- the file status
-
-
Method Detail
-
getStatus
public ScmFileStatus getStatus()
- Returns:
- the file status
-
compareTo
public int compareTo(ScmFile other)
- Specified by:
compareToin interfaceComparable<ScmFile>
-
-