public class Config extends Object implements Serializable, Comparable<Config>
Constructor and Description |
---|
Config(String pid,
Dictionary<String,Object> properties,
long bundleId,
int ranking,
ConfigPolicy policy) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Config o) |
long |
getBundleId()
The bundle id
|
List<File> |
getFiles() |
int |
getIndex()
The index of the configuration.
|
String |
getPid()
Get the PID
|
ConfigPolicy |
getPolicy()
Get the policy
|
Dictionary<String,Object> |
getProperties()
Get all properties
|
int |
getRanking()
The configuration ranking
|
ConfigState |
getState()
Get the configuration state
|
void |
setFiles(List<File> f) |
void |
setIndex(int value)
Set the index
|
void |
setState(ConfigState value)
Set the configuration state
|
String |
toString() |
public Config(String pid, Dictionary<String,Object> properties, long bundleId, int ranking, ConfigPolicy policy)
public String getPid()
public int getRanking()
public long getBundleId()
public int getIndex()
public void setIndex(int value)
public ConfigState getState()
public void setState(ConfigState value)
value
- The new statepublic ConfigPolicy getPolicy()
public Dictionary<String,Object> getProperties()
public int compareTo(Config o)
compareTo
in interface Comparable<Config>
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.