1 package net.pterodactylus.fcp.quelaton;
3 import java.util.Optional;
5 import net.pterodactylus.fcp.Peer;
8 * Command that modifies certain settings of a peer.
10 * @author <a href="mailto:bombe@freenetproject.org">David ‘Bombe’ Roden</a>
12 public interface ModifyPeerCommand {
14 ModifyPeerCommand enable();
15 ModifyPeerCommand disable();
17 Executable<Optional<Peer>> byName(String name);