Class BitbucketIssueProvider
- java.lang.Object
-
- org.vx68k.netbeans.module.bitbucket.BitbucketIssueProvider
-
- All Implemented Interfaces:
IssueProvider<BitbucketIssue>
public final class BitbucketIssueProvider extends Object implements IssueProvider<BitbucketIssue>
Implementation ofIssueProvider
for Bitbucket Cloud.- Author:
- Kaz Nishimura
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BitbucketIssueProvider.Adapter
Issue adapter.
-
Field Summary
Fields Modifier and Type Field Description static String[]
KINDS
Possible values for the issue kind.static String[]
PRIORITIES
Possible values for the issue priority.-
Fields inherited from interface org.netbeans.modules.bugtracking.spi.IssueProvider
EVENT_ISSUE_DATA_CHANGED, EVENT_ISSUE_DELETED
-
-
Constructor Summary
Constructors Constructor Description BitbucketIssueProvider()
Initializes the object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComment(BitbucketIssue i, String string, boolean bln)
void
addPropertyChangeListener(BitbucketIssue issue, PropertyChangeListener l)
void
attachFile(BitbucketIssue i, File file, String string, boolean bln)
IssueController
getController(BitbucketIssue issue)
String
getDisplayName(BitbucketIssue issue)
String
getID(BitbucketIssue issue)
Collection<String>
getSubtasks(BitbucketIssue issue)
String
getSummary(BitbucketIssue issue)
String
getTooltip(BitbucketIssue issue)
boolean
isFinished(BitbucketIssue issue)
boolean
isNew(BitbucketIssue issue)
boolean
refresh(BitbucketIssue issue)
void
removePropertyChangeListener(BitbucketIssue issue, PropertyChangeListener l)
-
-
-
Method Detail
-
getID
public String getID(BitbucketIssue issue)
- Specified by:
getID
in interfaceIssueProvider<BitbucketIssue>
-
getDisplayName
public String getDisplayName(BitbucketIssue issue)
- Specified by:
getDisplayName
in interfaceIssueProvider<BitbucketIssue>
-
getTooltip
public String getTooltip(BitbucketIssue issue)
- Specified by:
getTooltip
in interfaceIssueProvider<BitbucketIssue>
-
getSubtasks
public Collection<String> getSubtasks(BitbucketIssue issue)
- Specified by:
getSubtasks
in interfaceIssueProvider<BitbucketIssue>
-
getSummary
public String getSummary(BitbucketIssue issue)
- Specified by:
getSummary
in interfaceIssueProvider<BitbucketIssue>
-
isNew
public boolean isNew(BitbucketIssue issue)
- Specified by:
isNew
in interfaceIssueProvider<BitbucketIssue>
-
isFinished
public boolean isFinished(BitbucketIssue issue)
- Specified by:
isFinished
in interfaceIssueProvider<BitbucketIssue>
-
refresh
public boolean refresh(BitbucketIssue issue)
- Specified by:
refresh
in interfaceIssueProvider<BitbucketIssue>
-
addComment
public void addComment(BitbucketIssue i, String string, boolean bln)
- Specified by:
addComment
in interfaceIssueProvider<BitbucketIssue>
-
attachFile
public void attachFile(BitbucketIssue i, File file, String string, boolean bln)
- Specified by:
attachFile
in interfaceIssueProvider<BitbucketIssue>
-
getController
public IssueController getController(BitbucketIssue issue)
- Specified by:
getController
in interfaceIssueProvider<BitbucketIssue>
-
addPropertyChangeListener
public void addPropertyChangeListener(BitbucketIssue issue, PropertyChangeListener l)
- Specified by:
addPropertyChangeListener
in interfaceIssueProvider<BitbucketIssue>
-
removePropertyChangeListener
public void removePropertyChangeListener(BitbucketIssue issue, PropertyChangeListener l)
- Specified by:
removePropertyChangeListener
in interfaceIssueProvider<BitbucketIssue>
-
-