blob: 895435165dc37711ef45a1e32fc1bc6ab1ae7538 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/*******************************************************************************
* Copyright (c) 2007 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.equinox.prov.core.repository;
import org.eclipse.equinox.prov.core.helpers.OrderedProperties;
/**
* IWritableRepositoryInfo provides setters for common properties of various kinds
* of repositories.
* <p>
* Clients may implement this interface.
*/
public interface IWritableRepositoryInfo extends IRepositoryInfo {
/**
* Set the name of the repository.
*/
public void setName(String name);
/**
* Set the type of the repository.
*/
// TODO remove this method
public void setType(String type);
/**
* Set the string representing the version for the repository type.
*/
// TODO and likely this method too
public void setVersion(String version);
/**
* Returns a brief description of the repository.
*/
public void setDescription(String description);
/**
* Set the name of the provider of the repository.
*/
public void setProvider(String provider);
/**
* Returns the modifiable collection of the properties of the repository.
* @return the properties of this repository.
*/
public OrderedProperties getModifiableProperties();
}
|