| /*******************************************************************************
|
| * Copyright (c) 2015, 2016 IBM Corporation and others.
|
| * All rights reserved. This program and the accompanying materials
|
| * are made available under the terms of the Eclipse Public License 2.0
|
| * which accompanies this distribution, and is available at
|
| * https://www.eclipse.org/legal/epl-2.0/
|
| *
|
| * SPDX-License-Identifier: EPL-2.0
|
| *
|
| * Contributors:
|
| * IBM Corporation - Initial API and implementation
|
| *******************************************************************************/ |
| package org.eclipse.wst.server.discovery.internal.model;
|
|
|
| import org.eclipse.equinox.p2.metadata.Version;
|
|
|
| /**
|
| * @since 1.1
|
| */
|
| public class ExtensionProxy implements IServerExtension{
|
| private String id;
|
| private String name;
|
| private String description;
|
| private String provider;
|
| private String uri;
|
| private String version;
|
| private String serverId;
|
| private String vendor;
|
| private String runtimeId;
|
|
|
|
|
| public ExtensionProxy(String id, String name, String description, String provider, String uri, String version, String serverId, String vendor, String runtimeId) {
|
| this.id= id;
|
| this.name= name;
|
| this.description= description;
|
| this.provider= provider;
|
| this.uri = uri;
|
| this.version = version;
|
| this.serverId = serverId;
|
| this.vendor = vendor;
|
| this.runtimeId = runtimeId;
|
| }
|
|
|
| public String getName() {
|
| return name;
|
| }
|
|
|
| public String getDescription() {
|
| return description;
|
| }
|
|
|
| public String getProvider() {
|
| return provider;
|
| }
|
|
|
| public String getId() {
|
| return id;
|
| }
|
|
|
| public String getURI() {
|
| return uri;
|
| }
|
|
|
| public Version getVersion() {
|
| return null;
|
| }
|
|
|
| public String getVersionString() {
|
| return version;
|
| }
|
|
|
| public String getServerId() {
|
| return serverId;
|
| }
|
|
|
| public String getRuntimeVendor() {
|
| return vendor;
|
| }
|
|
|
| public String getRuntimeId() {
|
| return runtimeId;
|
| }
|
| } |