|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CrucibleClient
Interface that specifies the entry points to the Crucible API.
Method Summary | |
---|---|
java.util.List<com.atlassian.crucible.spi.data.GeneralCommentData> |
getGeneralComments(java.lang.String reviewId)
Returns the list of GeneralCommentData instances for the reviewId. |
com.atlassian.crucible.spi.data.ReviewData |
getReview(java.lang.String reviewId)
Retrieves the ReviewData instance for the reviewId. |
com.atlassian.crucible.spi.data.FisheyeReviewItemData |
getReviewItemData(java.lang.String reviewId,
java.lang.String reviewItemId)
Retrieves the FisheyeReviewItemData instance for the reviewId and
the reviewItemId. |
java.lang.String |
getUserName(java.lang.String userId)
Returns a user's real name. |
java.util.List<com.atlassian.crucible.spi.data.VersionedLineCommentData> |
getVersionedComments(java.lang.String reviewId)
Returns a list of VersionedLineCommentData instances for the reviewId. |
java.lang.String |
login(java.lang.String username,
java.lang.String password)
Performs a login action using the username and password. |
Method Detail |
---|
java.util.List<com.atlassian.crucible.spi.data.GeneralCommentData> getGeneralComments(java.lang.String reviewId)
GeneralCommentData
instances for the reviewId.
reviewId
-
com.atlassian.crucible.spi.data.ReviewData getReview(java.lang.String reviewId)
ReviewData
instance for the reviewId.
reviewId
-
java.util.List<com.atlassian.crucible.spi.data.VersionedLineCommentData> getVersionedComments(java.lang.String reviewId)
VersionedLineCommentData
instances for the reviewId.
reviewId
-
java.lang.String login(java.lang.String username, java.lang.String password)
username
- password
-
com.atlassian.crucible.spi.data.FisheyeReviewItemData getReviewItemData(java.lang.String reviewId, java.lang.String reviewItemId)
FisheyeReviewItemData
instance for the reviewId and
the reviewItemId.
reviewId
- reviewItemId
-
java.lang.String getUserName(java.lang.String userId)
userId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |