public class DExternalLibraryPackage extends ExternalDeployablePackage
BaseTypedPackage.TYPE| Modifier and Type | Field and Description |
|---|---|
protected String |
baseLibTargetDir |
extractor, rundependencies, installScripts, key, logger, packageFiles, properties, rebootScripts, targetsToAdd, uninstallScripts| Modifier and Type | Method and Description |
|---|---|
String |
deployApp(Set<org.gcube.common.core.scope.GCUBEScope> targets)
Deploys the package as an application
|
void |
deployPackage(Set<org.gcube.common.core.scope.GCUBEScope> targets) |
org.gcube.common.core.resources.common.PlatformDescription |
getTargetPlatform()
Gets the target platform of this package
|
boolean |
requireRestart()
States if after the deployment, it is required to restart the container
|
boolean |
verify()
Verifies if the package has been correctly deployed
|
clean, deploy, getSourcePackage, postDeploy, preDeploygetType, setTypeaddDependencies, addFile2Package, addInstallScript, addRebootScript, addScope, addUninstallScript, getDependencies, getInstallScripts, getKey, getPackageFileList, getProperty, getRebootScripts, getScopes, getScopesToAdd, getSerializationFile, getTargetsToAdd, getUninstallScripts, notifiyTargetsAdded, printFiles, removeFileFromPackage, removeScope, removeScopes, setProperty, setScopes, setScopesToAdd, setTargetPlatform, setTargetsToAdd, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTargetsToAdd, notifiyTargetsAdded, setTargetsToAddprotected String baseLibTargetDir
public boolean verify()
throws InvalidPackageArchiveException
Deployableverify in interface Deployableverify in class ExternalDeployablePackageInvalidPackageArchiveException - if the package cannot be verifiedpublic boolean requireRestart()
DeployablerequireRestart in interface DeployablerequireRestart in class ExternalDeployablePackagepublic org.gcube.common.core.resources.common.PlatformDescription getTargetPlatform()
BasePackagegetTargetPlatform in interface DeployablegetTargetPlatform in class BasePackagepublic String deployApp(Set<org.gcube.common.core.scope.GCUBEScope> targets) throws DeployException, InvalidPackageArchiveException
Deployabletargets - target scopesDeployExceptionInvalidPackageArchiveExceptionpublic void deployPackage(Set<org.gcube.common.core.scope.GCUBEScope> targets) throws DeployException, InvalidPackageArchiveException
deployPackage in class ExternalDeployablePackageDeployExceptionInvalidPackageArchiveExceptionCopyright © 2015. All Rights Reserved.