blob: 0aba96d505b51b0f6b9ed00afa6ecc9bab40a270 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/*******************************************************************************
* Copyright (c) 2000, 2006 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.pde.internal.core.isite;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.pde.internal.core.ifeature.IVersionable;
public interface ISiteFeature extends IVersionable, ISiteObject {
String P_TYPE = "type"; //$NON-NLS-1$
String P_URL = "url"; //$NON-NLS-1$
String P_OS = "os"; //$NON-NLS-1$
String P_WS = "ws"; //$NON-NLS-1$
String P_NL = "nl"; //$NON-NLS-1$
String P_ARCH = "arch"; //$NON-NLS-1$
String P_PATCH = "patch"; //$NON-NLS-1$
void addCategories(ISiteCategory[] categories) throws CoreException;
void removeCategories(ISiteCategory[] categories) throws CoreException;
ISiteCategory [] getCategories();
String getType();
String getURL();
String getOS();
String getNL();
String getArch();
String getWS();
boolean isPatch();
void setType(String type) throws CoreException;
void setURL(String url) throws CoreException;
void setOS(String os) throws CoreException;
void setWS(String ws) throws CoreException;
void setArch(String arch) throws CoreException;
void setNL(String nl) throws CoreException;
void setIsPatch(boolean patch) throws CoreException;
IFile getArchiveFile();
}
|