class MaintenanceModeTask extends Task {

    @Override
    public void execute(final ImmutableMultimap<String, String> args, final PrintWriter printWriter) {
        if(config.isInMaintenance()){
            config.setMaintenanceMode(false);
            printWriter.println("Maintenance has been disabled.");
        }
        else {
            config.setMaintenanceMode(true);
            printWriter.println("Maintenance mode is now active.");
        }
    }

    public  MaintenanceModeTask(final GrapesServerConfig config);

}