public class ConfigList extends Object implements Serializable, Iterable<Config>
Constructor and Description |
---|
ConfigList() |
Modifier and Type | Method and Description |
---|---|
void |
add(Config c)
Add a configuration to the list.
|
void |
addAll(ConfigList configs)
Add all configurations from another list
|
long |
getChangeCount()
Get the change count.
|
Config |
getLastInstalled() |
boolean |
hasChanges()
Does this list need to be processed
|
Iterator<Config> |
iterator() |
void |
setChangeCount(long value)
Set the change count
|
void |
setHasChanges(boolean value)
Set the has changes flag.
|
void |
setLastInstalled(Config lastInstalled) |
int |
size()
Get the size of the list of configurations
|
String |
toString() |
void |
uninstall(long bundleId)
Mark configurations for a bundle uninstall
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public boolean hasChanges()
true
if it needs processing.public void setHasChanges(boolean value)
value
- New value.public void add(Config c)
c
- The configuration.public void addAll(ConfigList configs)
configs
- The config listpublic int size()
public long getChangeCount()
public void setChangeCount(long value)
value
- The new change countpublic Config getLastInstalled()
public void setLastInstalled(Config lastInstalled)
public void uninstall(long bundleId)
bundleId
- The bundle id of the uninstalled bundleCopyright © 2006–2020 The Apache Software Foundation. All rights reserved.