| java.lang.Object org.tigris.scarab.xmlrpc.SimpleHandler
SimpleHandler | public class SimpleHandler (Code) | | Provides a basic API for XML-RPC requests to the Scarab server.
It makes the server side for scarab-post-commit.py script (in the
extensions/script directory).
author: Mick version: $Id$ See Also: org.tigris.scarab.util.SimpleHandlerClient |
Method Summary | |
public Vector | addComment(String issues, String user, String comment, int disableEmailsInt) Append a comment to the specified issue. | protected boolean | addComment(Issue issue, ScarabUser user, String comment, boolean disableEmails) Append a comment to the specified issue. | public Vector | changeIssueAttributeOption(String issue, String user, String attribute, String option, String description) Update Issue's attribute option with a given user and description. | protected boolean | changeIssueAttributeOption(Issue issue, ScarabUser user, Attribute attribute, AttributeOption option, String description) | public Vector | findIssuesWithAttributeValue(String user, String attribute, String value) returns a vector of federatedIds (prefix+count) for issues with the given attribute value. | protected Vector | findIssuesWithAttributeValue(ScarabUser user, Attribute attribute, String value) | protected static void | log(String str) |
addComment | public Vector addComment(String issues, String user, String comment, int disableEmailsInt)(Code) | | Append a comment to the specified issue. Wrapper method with string
parameters.
Vector with first item a boolean indicating success. Parameters: issues - string with the ids of the issue to add the comment to(can contain other words which will simply be ignored) Parameters: user - the username of the user who is adding the comment Parameters: comment - the comment to append to the issue Parameters: disableEmailsInt - do we want this change to trigger an email to every person assigned a role. |
addComment | protected boolean addComment(Issue issue, ScarabUser user, String comment, boolean disableEmails) throws Exception(Code) | | Append a comment to the specified issue.
success. Parameters: issueId - the id of the issue to add the comment to Parameters: username - the username of the user who is adding the comment Parameters: comment - the comment to append to the issue |
changeIssueAttributeOption | public Vector changeIssueAttributeOption(String issue, String user, String attribute, String option, String description)(Code) | | Update Issue's attribute option with a given user and description.
Wrapper method with string parameters.
Vector with first item a boolean indicating success. |
findIssuesWithAttributeValue | public Vector findIssuesWithAttributeValue(String user, String attribute, String value)(Code) | | returns a vector of federatedIds (prefix+count) for issues with the given attribute value.
|
|
|