| /******************************************************************************* |
| * Copyright (c) 2008 Code 9 and others. All rights reserved. This |
| * program and the accompanying materials are made available under the terms of |
| * the Eclipse Public License v1.0 which accompanies this distribution, and is |
| * available at http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Code 9 - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.equinox.internal.p2.publisher.actions; |
| |
| import org.osgi.framework.Version; |
| |
| public class BundleShapeAdvice extends AbstractAdvice implements IBundleShapeAdvice { |
| |
| private String shape; |
| private Version version; |
| private String id; |
| |
| public BundleShapeAdvice(String id, Version version, String shape) { |
| this.id = id; |
| this.version = version; |
| this.shape = shape; |
| } |
| |
| protected String getId() { |
| return id; |
| } |
| |
| protected Version getVersion() { |
| return version; |
| } |
| |
| public String getShape() { |
| return shape; |
| } |
| |
| } |