org.kohsuke.jnt
Class IssueCreator
java.lang.Object
org.kohsuke.jnt.AbstractIssueEditor<IssueCreator>
org.kohsuke.jnt.IssueCreator
public class IssueCreator
- extends AbstractIssueEditor<IssueCreator>
Very simple issue creator (doesn't check any field requirements... etc)
The procedure to create a new issue will be as follows:
// first obtain the JNIssueTracker
for the issue tracker you'd like to create a new issue.
JNIssueTracker it = ...;
// then begin an edit session
IssueCreator c = issue.createIssue();
// call methods on IssueCreator to fill in fields.
c.setField(...).setField(...)
...
// then finally commit the change
c.commit();
The class follows the fluent API pattern so that you can write
multiple changes in a concise fashion.
- Author:
- Tomas Knappek
commit
public void commit()
throws ProcessingException
- Throws:
ProcessingException
Copyright © 2003-2010 Kohsuke Kawaguchi. All Rights Reserved.