@Immutable public interface Hooks
@NotNull(message="iterable is never NULL") Iterable<Hook> iterate()
void remove(int number) throws IOException
number
- ID of the label to removeIOException
- If there is any I/O problem@NotNull(message="hook is never NULL") Hook get(int number)
number
- Hook number@NotNull(message="hook is never NULL") Hook create(@NotNull(message="name is never NULL") String name, @NotNull(message="config is never NULL") Map<String,String> config) throws IOException
name
- Hook nameconfig
- Configuration for the hookIOException
- If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.