Esempio n. 1
0
 @Override
 public JobConfigBuilder addParam(String param, Object value) {
   if (m.params == null) m.params = new HashMap<String, Object>();
   m.params.put(param, value);
   return this;
 }
Esempio n. 2
0
 @Override
 public JobConfigBuilder addConfig(String name, Object value) {
   if (m.configs == null) m.configs = new HashMap<String, Object>();
   m.configs.put(name, value);
   return this;
 }
Esempio n. 3
0
 @Override
 public JobConfigBuilder addArg(Object arg) {
   if (m.args == null) m.args = Lists.newArrayList();
   m.args.add(arg);
   return this;
 }