org.universAAL.middleware.managers.api
Class UAPPPackage
java.lang.Object
org.universAAL.middleware.managers.api.UAPPPackage
public class UAPPPackage
- extends Object
The deployment data required for installing an uApp on the platform, which is
used by the DeployManager
NOTE: The unique identifier of an UAPPPackage
is defined by
the the pair getServiceId()
and getId()
- Version:
- $LastChangedRevision$ ( $LastChangedDate$ )
- Author:
- Stefano Lenzi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UAPPPackage
public UAPPPackage(String serviceId,
String id,
URI folder,
Map<PeerCard,List<Part>> layout)
- Parameters:
serviceId
- the String
representing an unique identifier of the
service which is provided by the uStoreid
- the String
representing an unique identifier (within
the service) of the application that we are going to installfolder
- is the URI
where the uApp has been unpacked, which
contains all the uApp file and configuration required for
installing the uAAL servicelayout
- contains a map describing the node where each uApp of
contained in the uSrv has to be installed
getServiceId
public String getServiceId()
- Returns:
- the
String
representing the unique serviceId from uStore
that contains the uApp
getFolder
public URI getFolder()
- Returns:
- the
URI
where the uApp has been upacked by the platform
getId
public String getId()
- Returns:
- the unique
String
id (within the service) representing
the application
getDeploy
public Map<PeerCard,List<Part>> getDeploy()
- Returns:
- the deployment plan for the uApp application
Copyright © 2014 universAAL Consortium. All Rights Reserved.