package com.alibaba.druid.sql.dialect.mariadb.ast.statement;

import com.alibaba.druid.sql.ast.SQLStatement;
import com.alibaba.druid.sql.dialect.mariadb.visitor.MariadbASTVisitor;
import java.util.ArrayList;
import java.util.List;

public class DrdsRecoverDDLJob extends MariadbStatementImpl implements SQLStatement {
   private boolean allJobs = false;
   private List<Long> jobIds = new ArrayList();

   public void accept0(MariadbASTVisitor visitor) {
      visitor.visit(this);
      visitor.endVisit(this);
   }

   public boolean isAllJobs() {
      return this.allJobs;
   }

   public void setAllJobs(boolean allJobs) {
      this.allJobs = allJobs;
   }

   public List<Long> getJobIds() {
      return this.jobIds;
   }

   public void addJobId(long id) {
      this.jobIds.add(id);
   }
}
