Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / toolkit / mozapps / plugins / service / PluginInfo.java
blob915d1e7623eae575ffe6231b338071e5bb32f395
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/
10 * Software distributed under the License is distributed on an "AS IS" basis,
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 * for the specific language governing rights and limitations under the
13 * License.
15 * The Original Code is the Plugin Finder Service.
17 * The Initial Developer of the Original Code is IBM Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 2004
19 * the IBM Corporation. All Rights Reserved.
21 * Contributor(s):
22 * Doron Rosenberg <doronr@us.ibm.com>
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
36 * ***** END LICENSE BLOCK ***** */
38 package org.mozilla.pfs;
40 public class PluginInfo {
41 private java.lang.String name;
42 private int pid;
43 private java.lang.String version;
44 private java.lang.String iconUrl;
45 private java.lang.String XPILocation;
46 private boolean installerShowsUI;
47 private java.lang.String manualInstallationURL;
48 private java.lang.String requestedMimetype;
49 private java.lang.String licenseURL;
51 public PluginInfo() {
54 public java.lang.String getName() {
55 return name;
58 public void setName(java.lang.String name) {
59 this.name = name;
62 public int getPid() {
63 return pid;
66 public void setPid(int pid) {
67 this.pid = pid;
70 public java.lang.String getVersion() {
71 return version;
74 public void setVersion(java.lang.String version) {
75 this.version = version;
78 public java.lang.String getIconUrl() {
79 return iconUrl;
82 public void setIconUrl(java.lang.String iconUrl) {
83 this.iconUrl = iconUrl;
86 public java.lang.String getXPILocation() {
87 return XPILocation;
90 public void setXPILocation(java.lang.String XPILocation) {
91 this.XPILocation = XPILocation;
94 public boolean isInstallerShowsUI() {
95 return installerShowsUI;
98 public void setInstallerShowsUI(boolean installerShowsUI) {
99 this.installerShowsUI = installerShowsUI;
102 public java.lang.String getManualInstallationURL() {
103 return manualInstallationURL;
106 public void setManualInstallationURL(java.lang.String manualInstallationURL) {
107 this.manualInstallationURL = manualInstallationURL;
110 public java.lang.String getRequestedMimetype() {
111 return requestedMimetype;
114 public void setRequestedMimetype(java.lang.String requestedMimetype) {
115 this.requestedMimetype = requestedMimetype;
118 public java.lang.String getLicenseURL() {
119 return licenseURL;
122 public void setLicenseURL(java.lang.String licenseURL) {
123 this.licenseURL = licenseURL;