@Immutable public interface Milestones
| Modifier and Type | Method and Description | 
|---|---|
Milestone | 
create(String title)
Create Milestone. 
 | 
Milestone | 
get(int number)
Get specific milestone by number. 
 | 
Iterable<Milestone> | 
iterate(Map<String,String> params)
Iterate them all. 
 | 
void | 
remove(int number)
Remove milestone by number. 
 | 
Repo | 
repo()
Owner of them. 
 | 
@NotNull(message="repository is never NULL") Milestone create(@NotNull(message="Title can\'t be NULL") String title) throws IOException
title - Milestone creation JSONIOException - If there is any I/O problem@NotNull(message="milestone is never NULL") Milestone get(int number)
number - Milestone number@NotNull(message="iterable is never NULL") Iterable<Milestone> iterate(@NotNull(message="map of params can\'t be NULL") Map<String,String> params)
params - Iterating parameters, as requested by APIvoid remove(@NotNull(message="int can never be NULL") int number) throws IOException
number - Milestone numberIOException - If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.