Package com.atlassian.bamboo.commit
Class CommitFileImpl
java.lang.Object
com.atlassian.bamboo.commit.CommitFileImpl
- All Implemented Interfaces:
CommitFile
,Serializable
,Comparable<CommitFileImpl>
public class CommitFileImpl
extends Object
implements CommitFile, Serializable, Comparable<CommitFileImpl>
- See Also:
-
Constructor Summary
ConstructorDescriptionCommitFileImpl
(String name) CommitFileImpl
(String revision, String name) Deprecated.CommitFileImpl
(String revision, String name, String changesetId) -
Method Summary
Modifier and TypeMethodDescription@NotNull CommitFile
int
compareTo
(CommitFileImpl obj) boolean
@Nullable String
getName()
int
hashCode()
boolean
void
void
setRevision
(String revision) toString()
-
Constructor Details
-
CommitFileImpl
public CommitFileImpl() -
CommitFileImpl
-
CommitFileImpl
Deprecated.since 6.1 useCommitFileImpl(String, String, String)
-
CommitFileImpl
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceCommitFile
- Returns:
- name of file
-
getCleanName
- Specified by:
getCleanName
in interfaceCommitFile
- Returns:
- name of file
-
setName
-
getRevision
- Specified by:
getRevision
in interfaceCommitFile
- Returns:
- revision of file
-
setRevision
-
isRevisionKnown
public boolean isRevisionKnown()- Specified by:
isRevisionKnown
in interfaceCommitFile
-
cloneCommitFile
-
getChangesetId
- Specified by:
getChangesetId
in interfaceCommitFile
- Returns:
- Changeset id of the associated
CommitContext
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<CommitFileImpl>
-
toString
-
CommitFileImpl(String, String, String)