package com.cloudera.cmf.command;

import java.util.List;

public class RemoveHostsFromClusterCmdArgs extends BasicCmdArgs
{
  private boolean decommissionRoles;
  private boolean skipManagementRoles;

  public List<String> getHosts()
  {
    return this.args;
  }

  public boolean decomissionRoles() {
    return this.decommissionRoles;
  }

  public boolean skipManagementRoles() {
    return this.skipManagementRoles;
  }

  public static RemoveHostsFromClusterCmdArgs of(List<String> hosts, boolean decommissionRoles, boolean skipManagementRoles)
  {
    RemoveHostsFromClusterCmdArgs args = new RemoveHostsFromClusterCmdArgs();
    args.args = hosts;
    args.decommissionRoles = decommissionRoles;
    args.skipManagementRoles = skipManagementRoles;
    return args;
  }
}