All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.openfin.desktop.platform.ContentNavigationOptions Maven / Gradle / Ivy

There is a newer version: 11.0.2
Show newest version
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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy