public class DPlatformApplication extends DeployablePackage
BaseTypedPackage.TYPE| Modifier and Type | Field and Description |
|---|---|
protected org.gcube.common.core.resources.service.Software |
packageprofile |
protected String |
riid |
deploymentTime, extractor, run, serviceID, serviceprofiledependencies, 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.service.Package |
getPackageProfile()
Gets the package profile
|
boolean |
requireRestart()
States if after the deployment, it is required to restart the container
|
boolean |
verify()
Verifies if the package has been correctly deployed
|
analysePackage, clean, deploy, getDeploymentTime, getServiceID, getServiceProfile, getSourcePackage, notifyDeployCompleted, postDeploy, preDeploy, runInstallScriptsgetType, setTypeaddDependencies, addFile2Package, addInstallScript, addRebootScript, addScope, addUninstallScript, getDependencies, getInstallScripts, getKey, getPackageFileList, getProperty, getRebootScripts, getScopes, getScopesToAdd, getSerializationFile, getTargetPlatform, getTargetsToAdd, getUninstallScripts, notifiyTargetsAdded, printFiles, removeFileFromPackage, removeScope, removeScopes, setProperty, setScopes, setScopesToAdd, setTargetPlatform, setTargetsToAdd, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTargetPlatform, getTargetsToAdd, notifiyTargetsAdded, setTargetsToAddprotected transient org.gcube.common.core.resources.service.Software packageprofile
protected transient String riid
public boolean verify()
throws InvalidPackageArchiveException
DeployableInvalidPackageArchiveException - if the package cannot be verifiedpublic boolean requireRestart()
Deployablepublic void deployPackage(Set<org.gcube.common.core.scope.GCUBEScope> targets) throws DeployException, InvalidPackageArchiveException
deployPackage in class DeployablePackageDeployExceptionInvalidPackageArchiveExceptionpublic org.gcube.common.core.resources.service.Package getPackageProfile()
DeployablePackagegetPackageProfile in class DeployablePackagepublic String deployApp(Set<org.gcube.common.core.scope.GCUBEScope> targets) throws PackageAldreadyDeployedException, DeployException, InvalidPackageArchiveException
DeployabledeployApp in interface DeployabledeployApp in class DeployablePackagetargets - target scopesPackageAldreadyDeployedExceptionDeployExceptionInvalidPackageArchiveExceptionCopyright © 2015. All Rights Reserved.