org.gcube.common.vremanagement.deployer.impl.platforms
Class PlatformApplication

java.lang.Object
  extended by org.gcube.common.vremanagement.deployer.impl.platforms.PlatformApplication

public class PlatformApplication
extends Object

An application hosted on a TargetPlatform

Author:
Manuele Simi (ISTI-CNR)

Constructor Summary
protected PlatformApplication(org.gcube.vremanagement.virtualplatform.model.DeployedPackage dpackage, org.gcube.vremanagement.virtualplatform.image.VirtualPlatform platform)
           
protected PlatformApplication(org.gcube.common.core.resources.GCUBERunningInstance instance)
           
protected PlatformApplication(String riid, org.gcube.common.core.scope.GCUBEScope scope)
           
protected PlatformApplication(org.gcube.vremanagement.virtualplatform.model.UndeployedPackage upackage)
           
 
Method Summary
 org.gcube.common.core.resources.GCUBERunningInstance publish(Set<org.gcube.common.core.scope.GCUBEScope> scopes, org.gcube.common.core.security.GCUBESecurityManager manager, org.gcube.common.core.contexts.GCUBEServiceContext.Status... status)
           
 org.gcube.common.core.resources.GCUBERunningInstance unpublish(Set<org.gcube.common.core.scope.GCUBEScope> scopes, org.gcube.common.core.security.GCUBESecurityManager manager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformApplication

protected PlatformApplication(String riid,
                              org.gcube.common.core.scope.GCUBEScope scope)
                       throws Exception
Throws:
Exception

PlatformApplication

protected PlatformApplication(org.gcube.common.core.resources.GCUBERunningInstance instance)
                       throws Exception
Throws:
Exception

PlatformApplication

protected PlatformApplication(org.gcube.vremanagement.virtualplatform.model.DeployedPackage dpackage,
                              org.gcube.vremanagement.virtualplatform.image.VirtualPlatform platform)
                       throws Exception
Throws:
Exception

PlatformApplication

protected PlatformApplication(org.gcube.vremanagement.virtualplatform.model.UndeployedPackage upackage)
                       throws Exception
Throws:
Exception
Method Detail

publish

public org.gcube.common.core.resources.GCUBERunningInstance publish(Set<org.gcube.common.core.scope.GCUBEScope> scopes,
                                                                    org.gcube.common.core.security.GCUBESecurityManager manager,
                                                                    org.gcube.common.core.contexts.GCUBEServiceContext.Status... status)
                                                             throws Exception
Parameters:
scopes -
manager -
status -
Returns:
the ID of the instance published
Throws:
Exception

unpublish

public org.gcube.common.core.resources.GCUBERunningInstance unpublish(Set<org.gcube.common.core.scope.GCUBEScope> scopes,
                                                                      org.gcube.common.core.security.GCUBESecurityManager manager)
                                                               throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.