org.gcube.common.vremanagement.deployer.impl.resources.deployment
Class DeployablePackageFactory

java.lang.Object
  extended by org.gcube.common.vremanagement.deployer.impl.resources.deployment.DeployablePackageFactory

public class DeployablePackageFactory
extends Object


Constructor Summary
DeployablePackageFactory()
           
 
Method Summary
static Deployable createDeployablePackageFromJar(ExternalPackageExtractor extractor)
          Creates a new Deployable package starting from its extractor
static Deployable createDeployablePackageFromProfile(org.gcube.common.core.resources.service.Package packageprofile, PackageExtractor extractor)
          Creates a new Deployable package starting from its profile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployablePackageFactory

public DeployablePackageFactory()
Method Detail

createDeployablePackageFromProfile

public static Deployable createDeployablePackageFromProfile(org.gcube.common.core.resources.service.Package packageprofile,
                                                            PackageExtractor extractor)
                                                     throws InvalidPackageArchiveException,
                                                            Exception
Creates a new Deployable package starting from its profile

Parameters:
packageprofile - the profile instance
Returns:
the deployable package
Throws:
InvalidPackageArchiveException
Exception

createDeployablePackageFromJar

public static Deployable createDeployablePackageFromJar(ExternalPackageExtractor extractor)
                                                 throws InvalidPackageArchiveException,
                                                        Exception
Creates a new Deployable package starting from its extractor

Parameters:
packagefile - the file instance
Returns:
the deployable package
Throws:
InvalidPackageArchiveException
Exception


Copyright © 2013. All Rights Reserved.