alibaba / DataX

DataX是阿里云DataWorks数据集成的开源版本。
Other
15.94k stars 5.43k forks source link

定义插件里的内部类Job和task,能不能不定义为内部类,在plugin.json中分别定义Job和Task的class,分别newInstance #2024

Closed PuttyTree closed 10 months ago

PuttyTree commented 10 months ago
class XxxReader extends Reader {

   public static class Job extends Reader.Job {
   }

  public static class Task extends Reader.Task {
  }
}

Job和Task不要定义为内部类

PuttyTree commented 10 months ago

知道如何实现了