提交 6d2d9a78 编写于 作者: K kohsuke

use a dedicated List type

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9331 71c3de6d-444a-0410-be80-ed276b4c234a
上级 47d481f8
package hudson.model;
import hudson.ExtensionPoint;
import hudson.security.SecurityRealm;
import hudson.util.DescriptorList;
import java.util.List;
import java.util.ArrayList;
......@@ -24,5 +26,8 @@ public abstract class SlaveStartMethod implements Describable<SlaveStartMethod>,
public abstract void start(Slave.ComputerImpl computer, Slave slave, OutputStream launchLog, Logger logger);
public static final List<Descriptor<SlaveStartMethod>> LIST = new ArrayList<Descriptor<SlaveStartMethod>>();
/**
* All registered {@link SlaveStartMethod} implementations.
*/
public static final DescriptorList<SlaveStartMethod> LIST = new DescriptorList<SlaveStartMethod>();
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册