com.openfin.desktop.platform.ContentNavigationOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openfin-desktop-java-adapter Show documentation
Show all versions of openfin-desktop-java-adapter Show documentation
The Java API for OpenFin Runtime
package com.openfin.desktop.platform;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONObject;
import com.openfin.desktop.JsonBean;
public class ContentNavigationOptions extends JsonBean {
private List whitelist;
private List blalcklist;
public ContentNavigationOptions() {
}
public ContentNavigationOptions(JSONObject json) {
super(json);
}
public List getWhitelist() {
if (this.whitelist == null && this.json.has("whitelist")) {
this.whitelist = this.getList("whitelist");
}
return this.whitelist;
}
public void setWhitelist() {
this.setArray("whitelist", this.whitelist);
}
public List getBlacklist() {
if (this.blalcklist == null && this.json.has("blalcklist")) {
this.blalcklist = this.getList("blalcklist");
}
return this.blalcklist;
}
public void setBlacklist() {
this.setArray("blalcklist", this.blalcklist);
}
}