@Immutable
public interface IssueLabels
| Modifier and Type | Interface and Description |
|---|---|
static class |
IssueLabels.Smart
Smart IssueLabels with extra features.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Iterable<String> labels)
Add new labels.
|
void |
clear()
Remove all labels.
|
Issue |
issue()
The issue we're in.
|
Iterable<Label> |
iterate()
Iterate them all.
|
void |
remove(String name)
Remove label by name.
|
void |
replace(Iterable<String> labels)
Replace all labels.
|
Issue issue()
void add(Iterable<String> labels) throws IOException
labels - The labels to addIOException - If there is any I/O problemvoid replace(Iterable<String> labels) throws IOException
labels - The labels to saveIOException - If there is any I/O problemIterable<Label> iterate()
void remove(String name) throws IOException
name - Name of the label to removeIOException - If there is any I/O problemvoid clear()
throws IOException
IOException - If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.