@Immutable public interface Labels
Modifier and Type | Interface and Description |
---|---|
static class |
Labels.Smart
Smart Labels with extra features.
|
@NotNull(message="Label is never NULL") Label create(@NotNull(message="label name can\'t be NULL") String name, @NotNull(message="label color can\'t be NULL") String color) throws IOException
name
- The name of itcolor
- Color of itIOException
- If there is any I/O problem@NotNull(message="Label is never NULL") Label get(@NotNull(message="label name can\'t be NULL") String name)
name
- The name of it@NotNull(message="iterable is never NULL") Iterable<Label> iterate()
void delete(@NotNull(message="label name can\'t be NULL") String name) throws IOException
name
- Name of the label to removeIOException
- If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.