diff --git a/src/main/java/com/r35157/nenjim/kicker/Kicker.java b/src/main/java/com/r35157/nenjim/kicker/Kicker.java index 6bd7923..89a27ce 100644 --- a/src/main/java/com/r35157/nenjim/kicker/Kicker.java +++ b/src/main/java/com/r35157/nenjim/kicker/Kicker.java @@ -1,22 +1,24 @@ package com.r35157.nenjim.kicker; +import org.jetbrains.annotations.NotNull; + import java.util.HashMap; public interface Kicker { /** * Starts a process based on the provided fully qualified interface name. - * The actual implementation that is run is binded according to the Context. + * The actual implementation that is run is bound according to the Context. * * @param fqInterfaceName the fully qualified interface name for the actual class to start as a process. The interface must extend the {@code NenjimProcess} interface. */ - void startProcess(String fqInterfaceName); + void startProcess(@NotNull String fqInterfaceName); /** * Provides a map of all running processes managed by the NenjimHub, keyed by the processId. * * @return a map of {@code NenjimProcess} running processes */ - HashMap getRunningProcesses(); + @NotNull HashMap getRunningProcesses(); /** * A no-operation (noop). This method does nothing.