public class Configuration extends Object implements Comparable<Configuration>
| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_ARTIFACT |
| Constructor and Description |
|---|
Configuration(String pid)
Create a new configuration
|
Configuration(String factoryPid,
String name)
Create a new factor configuration
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Configuration o) |
String |
getFactoryPid()
Return the factory pid
|
String |
getName()
Return the name for a factory configuration.
|
String |
getPid()
Get the pid.
|
Dictionary<String,Object> |
getProperties()
Get all properties of the configuration.
|
boolean |
isFactoryConfiguration()
Check whether this is a factory configuration
|
String |
toString() |
public static final String PROP_ARTIFACT
public Configuration(String pid)
pid - The pidIllegalArgumentException - If pid is nullpublic Configuration(String factoryPid, String name)
factoryPid - The factory pidname - The name of the factory pidIllegalArgumentException - If factoryPid or name is nullpublic int compareTo(Configuration o)
compareTo in interface Comparable<Configuration>public String getPid()
nullnullpublic String getFactoryPid()
null.public String getName()
null.public boolean isFactoryConfiguration()
true if it is a factory configurationpublic Dictionary<String,Object> getProperties()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.