@Override public Command build(Config config, Command parent, Command child, MorphlineContext context) { return new GenerateSequenceNumber(this, config, parent, child, context); }
public GenerateSequenceNumber(CommandBuilder builder, Config config, Command parent, Command child, MorphlineContext context) { super(builder, config, parent, child, context); this.fieldName = getConfigs().getString(config, "field"); this.preserveExisting = getConfigs().getBoolean(config, "preserveExisting", true); validateArguments(); }