public class ScmFile extends Object implements Comparable<ScmFile>, Serializable
Constructor and Description |
---|
ScmFile(String path,
ScmFileStatus status) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ScmFile other) |
boolean |
equals(Object other) |
String |
getPath()
Returns the relative path of the file.
|
ScmFileStatus |
getStatus() |
int |
hashCode() |
String |
toString() |
public ScmFile(String path, ScmFileStatus status)
path
- The relative path of the file, should never start with any File.separator
.status
- The file statuspublic ScmFileStatus getStatus()
public int compareTo(ScmFile other)
compareTo
in interface Comparable<ScmFile>
Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.