} else {
throw new IllegalStateException("Unknown argument: " + arg);
}
}
QQuotaOptions options = new QQuotaOptions();
if (hostFilter != null) {
options.setHostFilter(hostFilter);
}
if (resourceFilter != null) {
options.setResourceFilter(resourceFilter);
}
if (userFilter != null) {
options.setUserFilter(userFilter);
}
if (peFilter != null) {
options.setPeFilter(peFilter);
}
if (projectFilter != null) {
options.setProjectFilter(projectFilter);
}
if (queueFilter != null) {
options.setQueueFilter(queueFilter);
}
return options;
}