com.atlassian.crucible.spi.data
Class FisheyeReviewItemData
java.lang.Object
com.atlassian.crucible.spi.data.ReviewItemData
com.atlassian.crucible.spi.data.FisheyeReviewItemData
- All Implemented Interfaces:
- java.io.Serializable
public class FisheyeReviewItemData
- extends ReviewItemData
A bean containing the attributes of a change in a review
- See Also:
- Serialized Form
|
Constructor Summary |
FisheyeReviewItemData()
|
FisheyeReviewItemData(java.lang.String repositoryName,
java.lang.String fromPath,
java.lang.String fromRevision,
java.lang.String fromContentUrl,
java.lang.String toPath,
java.lang.String toRevision,
java.lang.String toContentUrl,
FisheyeReviewItemAttibutes attrs,
java.lang.String permId,
java.lang.String patchUrl,
AnchorData anchorData,
FisheyeReviewItemData.FileType fileType,
java.lang.String authorName,
java.util.Date commitDate,
java.lang.Boolean showAsDiff,
java.util.Set<ReviewItemData.ParticipantStatus> participants,
java.util.Collection<ReviewItemRevisionData> revisions)
|
FisheyeReviewItemData(java.lang.String repositoryName,
java.lang.String fromPath,
java.lang.String fromRevision,
java.lang.String fromContentUrl,
java.lang.String toPath,
java.lang.String toRevision,
java.lang.String toContentUrl,
FisheyeReviewItemAttibutes attrs,
java.lang.String permId,
java.lang.String patchUrl,
FisheyeReviewItemData.FileType fileType,
java.lang.String authorName,
java.util.Date commitDate,
java.lang.Boolean showAsDiff,
java.util.Set<ReviewItemData.ParticipantStatus> participants)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FisheyeReviewItemData
public FisheyeReviewItemData()
FisheyeReviewItemData
public FisheyeReviewItemData(java.lang.String repositoryName,
java.lang.String fromPath,
java.lang.String fromRevision,
java.lang.String fromContentUrl,
java.lang.String toPath,
java.lang.String toRevision,
java.lang.String toContentUrl,
FisheyeReviewItemAttibutes attrs,
java.lang.String permId,
java.lang.String patchUrl,
FisheyeReviewItemData.FileType fileType,
java.lang.String authorName,
java.util.Date commitDate,
java.lang.Boolean showAsDiff,
java.util.Set<ReviewItemData.ParticipantStatus> participants)
FisheyeReviewItemData
public FisheyeReviewItemData(java.lang.String repositoryName,
java.lang.String fromPath,
java.lang.String fromRevision,
java.lang.String fromContentUrl,
java.lang.String toPath,
java.lang.String toRevision,
java.lang.String toContentUrl,
FisheyeReviewItemAttibutes attrs,
java.lang.String permId,
java.lang.String patchUrl,
AnchorData anchorData,
FisheyeReviewItemData.FileType fileType,
java.lang.String authorName,
java.util.Date commitDate,
java.lang.Boolean showAsDiff,
java.util.Set<ReviewItemData.ParticipantStatus> participants,
java.util.Collection<ReviewItemRevisionData> revisions)
- Parameters:
anchorData - the anchor for the patch, if this is a patch review. Otherwise, null.revisions - the revisions in the review item.
getAnchorData
public AnchorData getAnchorData()
setAnchorData
public void setAnchorData(AnchorData anchorData)
setExpandedRevisions
public void setExpandedRevisions(java.util.Collection<ReviewItemRevisionData> revisions)
getExpandedRevisions
public java.util.Collection<ReviewItemRevisionData> getExpandedRevisions()
getRepositoryName
public java.lang.String getRepositoryName()
getFromPath
public java.lang.String getFromPath()
getFromRevision
public java.lang.String getFromRevision()
getToPath
public java.lang.String getToPath()
setRepositoryName
public void setRepositoryName(java.lang.String repositoryName)
setFromPath
public void setFromPath(java.lang.String fromPath)
setFromRevision
public void setFromRevision(java.lang.String fromRevision)
setToPath
public void setToPath(java.lang.String toPath)
setToRevision
public void setToRevision(java.lang.String toRevision)
getToRevision
public java.lang.String getToRevision()
getPatchUrl
public java.lang.String getPatchUrl()
setPatchUrl
public void setPatchUrl(java.lang.String patchUrl)
getFileType
public FisheyeReviewItemData.FileType getFileType()
setFileType
public void setFileType(FisheyeReviewItemData.FileType fileType)
getCommitType
public FisheyeReviewItemData.CommitType getCommitType()
setCommitType
public void setCommitType(FisheyeReviewItemData.CommitType commitType)
getAuthorName
public java.lang.String getAuthorName()
setAuthorName
public void setAuthorName(java.lang.String authorName)
getCommitDate
public java.util.Date getCommitDate()
setCommitDate
public void setCommitDate(java.util.Date commitDate)
isShowAsDiff
public java.lang.Boolean isShowAsDiff()
setShowAsDiff
public void setShowAsDiff(java.lang.Boolean showAsDiff)
getFromContentUrl
public java.lang.String getFromContentUrl()
- Returns the URI that points to the location of the raw content for the previous revision of this item.
- Returns:
- the URI that points to the location of the raw content for the previous revision of this item.
setFromContentUrl
public void setFromContentUrl(java.lang.String fromContentUrl)
- Sets the URI that points to the location of the raw content for the previous revision of this item.
- Parameters:
fromContentUrl - the URI that points to the location of the raw content for the previous revision of this item.
getToContentUrl
public java.lang.String getToContentUrl()
- Returns the URI that points to the location of the raw content for the current revision of this item.
- Returns:
- the URI that points to the location of the raw content for the current revision of this item.
setToContentUrl
public void setToContentUrl(java.lang.String toContentUrl)
- Sets the URI that points to the location of the raw content for the current revision of this item.
- Parameters:
toContentUrl - the URI that points to the location of the raw content for the current revision of this item.