|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.crucible.plugin.export.CrucibleDirectClient
public class CrucibleDirectClient
Provides direct interaction with the Crucible API directly, through the
ReviewService
instance.
Constructor Summary | |
---|---|
CrucibleDirectClient(com.atlassian.crucible.spi.services.ReviewService reviewService)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CrucibleDirectClient(com.atlassian.crucible.spi.services.ReviewService reviewService)
Method Detail |
---|
public java.util.List<com.atlassian.crucible.spi.data.GeneralCommentData> getGeneralComments(java.lang.String reviewId)
GeneralCommentData
instances for the
reviewId.
getGeneralComments
in interface CrucibleClient
public com.atlassian.crucible.spi.data.ReviewData getReview(java.lang.String reviewId)
ReviewData
instance for the reviewId.
getReview
in interface CrucibleClient
public java.util.List<com.atlassian.crucible.spi.data.VersionedLineCommentData> getVersionedComments(java.lang.String reviewId)
VersionedLineCommentData
instances for the
reviewId.
getVersionedComments
in interface CrucibleClient
public java.lang.String login(java.lang.String username, java.lang.String password)
login
in interface CrucibleClient
public com.atlassian.crucible.spi.data.FisheyeReviewItemData getReviewItemData(java.lang.String reviewId, java.lang.String reviewItemId)
FisheyeReviewItemData
instance for the reviewId and
the reviewItemId.
getReviewItemData
in interface CrucibleClient
public java.lang.String getUserName(java.lang.String userId)
getUserName
in interface CrucibleClient
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |