|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crucible.spi.data.ReviewItemData com.atlassian.crucible.spi.data.FisheyeReviewItemData
public class FisheyeReviewItemData
A bean containg the attributes of a change in a review
Nested Class Summary | |
---|---|
static class |
FisheyeReviewItemData.CommitType
|
static class |
FisheyeReviewItemData.FileType
|
static class |
FisheyeReviewItemData.ReviewItemRevisions
|
Field Summary |
---|
Fields inherited from class com.atlassian.crucible.spi.data.ReviewItemData |
---|
permId |
Constructor Summary | |
---|---|
FisheyeReviewItemData()
|
|
FisheyeReviewItemData(java.lang.String repositoryName,
java.lang.String fromPath,
java.lang.String fromRevision,
java.lang.String toPath,
java.lang.String toRevision,
java.lang.Boolean showAsDiff)
|
|
FisheyeReviewItemData(java.lang.String repositoryName,
java.lang.String fromPath,
java.lang.String fromRevision,
java.lang.String toPath,
java.lang.String toRevision,
java.lang.String permId)
|
|
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)
|
Method Summary | |
---|---|
java.lang.String |
getAuthorName()
|
java.util.Date |
getCommitDate()
|
FisheyeReviewItemData.CommitType |
getCommitType()
|
java.util.Collection<ReviewItemRevisionData> |
getExpandedRevisions()
This method is a convenience method for plugins to obtain the list of revisions. |
FisheyeReviewItemData.FileType |
getFileType()
|
java.lang.String |
getFromContentUrl()
Returns the URI that points to the location of the raw content for the previous revision of this item. |
java.lang.String |
getFromPath()
|
java.lang.String |
getFromRevision()
|
java.lang.String |
getPatchUrl()
|
java.lang.String |
getRepositoryName()
|
FisheyeReviewItemData.ReviewItemRevisions |
getRevisions()
This method returns the wrapper object that wraps a list of ReviewItemRevisionData . |
java.lang.String |
getToContentUrl()
Returns the URI that points to the location of the raw content for the current revision of this item. |
java.lang.String |
getToPath()
|
java.lang.String |
getToRevision()
|
java.lang.Boolean |
isShowAsDiff()
|
void |
setAuthorName(java.lang.String authorName)
|
void |
setCommitDate(java.util.Date commitDate)
|
void |
setCommitType(FisheyeReviewItemData.CommitType commitType)
|
void |
setFileType(FisheyeReviewItemData.FileType fileType)
|
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. |
void |
setFromPath(java.lang.String fromPath)
|
void |
setFromRevision(java.lang.String fromRevision)
|
void |
setPatchUrl(java.lang.String patchUrl)
|
void |
setRepositoryName(java.lang.String repositoryName)
|
void |
setRevisions(FisheyeReviewItemData.ReviewItemRevisions revisions)
|
void |
setShowAsDiff(java.lang.Boolean showAsDiff)
|
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. |
void |
setToPath(java.lang.String toPath)
|
void |
setToRevision(java.lang.String toRevision)
|
Methods inherited from class com.atlassian.crucible.spi.data.ReviewItemData |
---|
getPermId, setPermId, setPermIdAsString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FisheyeReviewItemData()
public FisheyeReviewItemData(java.lang.String repositoryName, java.lang.String fromPath, java.lang.String fromRevision, java.lang.String toPath, java.lang.String toRevision, java.lang.Boolean showAsDiff)
public FisheyeReviewItemData(java.lang.String repositoryName, java.lang.String fromPath, java.lang.String fromRevision, java.lang.String toPath, java.lang.String toRevision, java.lang.String permId)
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)
Method Detail |
---|
public FisheyeReviewItemData.ReviewItemRevisions getRevisions()
ReviewItemRevisionData
.
If you are not in a REST call, you should use the getExpandedRevisions()
call instead of this one, as
the REST api performs list expansion on FisheyeReviewItemData.ReviewItemRevisions
, and thus
FisheyeReviewItemData.ReviewItemRevisions.getRevisions()
will return null
if you are using this method outside a REST api call.
public java.util.Collection<ReviewItemRevisionData> getExpandedRevisions()
getRevisions()
if you are not using the REST interface.
public void setRevisions(FisheyeReviewItemData.ReviewItemRevisions revisions)
public java.lang.String getRepositoryName()
public java.lang.String getFromPath()
public java.lang.String getFromRevision()
public java.lang.String getToPath()
public void setRepositoryName(java.lang.String repositoryName)
public void setFromPath(java.lang.String fromPath)
public void setFromRevision(java.lang.String fromRevision)
public void setToPath(java.lang.String toPath)
public void setToRevision(java.lang.String toRevision)
public java.lang.String getToRevision()
public java.lang.String getPatchUrl()
public void setPatchUrl(java.lang.String patchUrl)
public FisheyeReviewItemData.FileType getFileType()
public void setFileType(FisheyeReviewItemData.FileType fileType)
public FisheyeReviewItemData.CommitType getCommitType()
public void setCommitType(FisheyeReviewItemData.CommitType commitType)
public java.lang.String getAuthorName()
public void setAuthorName(java.lang.String authorName)
public java.util.Date getCommitDate()
public void setCommitDate(java.util.Date commitDate)
public java.lang.Boolean isShowAsDiff()
public void setShowAsDiff(java.lang.Boolean showAsDiff)
public java.lang.String getFromContentUrl()
public void setFromContentUrl(java.lang.String fromContentUrl)
fromContentUrl
- the URI that points to the location of the raw content for the previous revision of this item.public java.lang.String getToContentUrl()
public void setToContentUrl(java.lang.String toContentUrl)
toContentUrl
- the URI that points to the location of the raw content for the current revision of this item.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |