Package com.jcabi.github
Interface Labels
- All Known Implementing Classes:
Labels.Smart
@Immutable
public interface Labels
GitHub labels.
- Since:
- 0.1
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classSmart Labels with extra features. -
Method Summary
-
Method Details
-
repo
Repo repo()The repo we're in.- Returns:
- Repo
-
create
Create new label.- Parameters:
name- The name of itcolor- Color of it- Returns:
- The label created
- Throws:
IOException- If there is any I/O problem- See Also:
-
get
Get a label by name.- Parameters:
name- The name of it- Returns:
- The label
- See Also:
-
iterate
Iterate them all.- Returns:
- Iterator of labels
- See Also:
-
delete
Delete label by name.- Parameters:
name- Name of the label to remove- Throws:
IOException- If there is any I/O problem- See Also:
-