The following code shows an example adapting Run to IConfigurable using the init(String) method
下面的代码给出了一个例子,用 init(String) 方法使 Run 适应于 IConfigurable
This also requires a modification to the init method to accept a String context.
这也需要对init方法进行修改以便能够接受String上下文。
All init parameters are treated as String objects.
所有init参数都是String对象。
应用推荐