Package | Description |
---|---|
icy.update |
Contains all classes and tools used to allow update of plugins, libraries and application core
|
Modifier and Type | Method and Description |
---|---|
static ElementDescriptor |
Updater.findElement(java.lang.String name,
java.util.ArrayList<ElementDescriptor> list)
Find an element in the specified list
|
static ElementDescriptor |
ElementDescriptor.getUpdateElement(ElementDescriptor localElement,
ElementDescriptor onlineElement)
Process and return the update the element which contain differences
from the specified local and online elements. |
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<ElementDescriptor> |
Updater.getLocalElements()
Get the list of local elements.
|
static java.util.ArrayList<ElementDescriptor> |
Updater.getOnlineElements()
Get the list of online elements (online update.xml file)
|
static java.util.ArrayList<ElementDescriptor> |
Updater.getUpdateElements(java.util.ArrayList<ElementDescriptor> localElements)
Get update elements.
|
static java.util.ArrayList<ElementDescriptor> |
Updater.loadElementsFromXML(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
static void |
Updater.clearElementInfos(ElementDescriptor updateElement,
java.util.ArrayList<ElementDescriptor> localElements)
Update local elements according to changes presents in updateElement
|
static ElementDescriptor |
ElementDescriptor.getUpdateElement(ElementDescriptor localElement,
ElementDescriptor onlineElement)
Process and return the update the element which contain differences
from the specified local and online elements. |
boolean |
ElementDescriptor.isSame(ElementDescriptor element,
boolean compareFileOnlinePath)
Return true if the specified ElementDescriptor is the same than current one.
|
static boolean |
Updater.udpateElement(ElementDescriptor updateElement,
java.util.ArrayList<ElementDescriptor> localElements)
Update the specified "update" element (move files from update to application directory)
then modify local elements list according to changes made. |
void |
ElementDescriptor.update(ElementDescriptor updateElement)
Update current element with informations from specified element
|
static void |
Updater.updateElementInfos(ElementDescriptor updateElement,
java.util.ArrayList<ElementDescriptor> localElements)
Update local elements according to changes presents in updateElement
|
Modifier and Type | Method and Description |
---|---|
static void |
Updater.clearElementInfos(ElementDescriptor updateElement,
java.util.ArrayList<ElementDescriptor> localElements)
Update local elements according to changes presents in updateElement
|
static ElementDescriptor |
Updater.findElement(java.lang.String name,
java.util.ArrayList<ElementDescriptor> list)
Find an element in the specified list
|
static java.util.ArrayList<ElementDescriptor> |
Updater.getUpdateElements(java.util.ArrayList<ElementDescriptor> localElements)
Get update elements.
|
static boolean |
Updater.saveElementsToXML(java.util.ArrayList<ElementDescriptor> elements,
java.lang.String path,
boolean onlineSave)
Save the specified elements to the specified filename
|
static boolean |
Updater.udpateElement(ElementDescriptor updateElement,
java.util.ArrayList<ElementDescriptor> localElements)
Update the specified "update" element (move files from update to application directory)
then modify local elements list according to changes made. |
static void |
Updater.updateElementInfos(ElementDescriptor updateElement,
java.util.ArrayList<ElementDescriptor> localElements)
Update local elements according to changes presents in updateElement
|
static void |
Updater.validateElements(java.util.ArrayList<ElementDescriptor> elements)
Validate the specified list of elements against local files.
|
Constructor and Description |
---|
ElementDescriptor(ElementDescriptor element)
Create a new element descriptor using specified element informations
|