提交 97528a29 编写于 作者: J Jesse Glick

Host name must not be null (cloud impl should have handled such errors earlier).

上级 310e22db
......@@ -28,6 +28,7 @@ import hudson.model.AbstractDescribableImpl;
import hudson.model.TaskListener;
import java.io.IOException;
import javax.annotation.Nonnull;
/**
* Factory of {@link ComputerLauncher}.
......@@ -48,7 +49,7 @@ public abstract class ComputerConnector extends AbstractDescribableImpl<Computer
* @param listener
* If
*/
public abstract ComputerLauncher launch(String host, TaskListener listener) throws IOException, InterruptedException;
public abstract ComputerLauncher launch(@Nonnull String host, TaskListener listener) throws IOException, InterruptedException;
@Override
public ComputerConnectorDescriptor getDescriptor() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册