org.universAAL.middleware.managers.api
Class UAPPPackage

Package class diagram package UAPPPackage
java.lang.Object
  extended by 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

Constructor Summary
UAPPPackage(String serviceId, String id, URI folder, Map<PeerCard,List<Part>> layout)
           
 
Method Summary
 Map<PeerCard,List<Part>> getDeploy()
           
 URI getFolder()
           
 String getId()
           
 String getServiceId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 uStore
id - the String representing an unique identifier (within the service) of the application that we are going to install
folder - is the URI where the uApp has been unpacked, which contains all the uApp file and configuration required for installing the uAAL service
layout - contains a map describing the node where each uApp of contained in the uSrv has to be installed
Method Detail

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.