org.nuxeo.connect.update.impl
Class LocalPackageImpl
java.lang.Object
org.nuxeo.connect.update.impl.LocalPackageImpl
- All Implemented Interfaces:
- org.nuxeo.connect.update.LocalPackage, org.nuxeo.connect.update.Package
public class LocalPackageImpl
- extends Object
- implements org.nuxeo.connect.update.LocalPackage
- Author:
- Bogdan Stefanescu
Fields inherited from interface org.nuxeo.connect.update.LocalPackage |
BACKUP_DIR, INSTALL, INSTALL_FORMS, INSTALL_PROPERTIES, LICENSE, MANIFEST, TERMSANDCONDITIONS, UNINSTALL, UNINSTALL_FORMS, VALIDATION_FORMS |
LocalPackageImpl
public LocalPackageImpl(File file,
int state)
throws org.nuxeo.connect.update.PackageException
- Throws:
org.nuxeo.connect.update.PackageException
LocalPackageImpl
public LocalPackageImpl(ClassLoader parent,
File file,
int state)
throws org.nuxeo.connect.update.PackageException
- Throws:
org.nuxeo.connect.update.PackageException
setState
public void setState(int state)
- Specified by:
setState
in interface org.nuxeo.connect.update.LocalPackage
getData
public org.nuxeo.connect.update.PackageData getData()
- Specified by:
getData
in interface org.nuxeo.connect.update.LocalPackage
getInstallFile
public File getInstallFile()
throws org.nuxeo.connect.update.PackageException
- Specified by:
getInstallFile
in interface org.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
getUninstallFile
public File getUninstallFile()
throws org.nuxeo.connect.update.PackageException
- Specified by:
getUninstallFile
in interface org.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
getLicenseType
public String getLicenseType()
- Specified by:
getLicenseType
in interface org.nuxeo.connect.update.Package
getLicenseUrl
public String getLicenseUrl()
- Specified by:
getLicenseUrl
in interface org.nuxeo.connect.update.Package
getLicenseContent
public String getLicenseContent()
throws org.nuxeo.connect.update.PackageException
- Specified by:
getLicenseContent
in interface org.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
getClassifier
public String getClassifier()
- Specified by:
getClassifier
in interface org.nuxeo.connect.update.Package
getDescription
public String getDescription()
- Specified by:
getDescription
in interface org.nuxeo.connect.update.Package
getId
public String getId()
- Specified by:
getId
in interface org.nuxeo.connect.update.Package
getName
public String getName()
- Specified by:
getName
in interface org.nuxeo.connect.update.Package
getTitle
public String getTitle()
- Specified by:
getTitle
in interface org.nuxeo.connect.update.Package
getState
public int getState()
- Specified by:
getState
in interface org.nuxeo.connect.update.Package
getTargetPlatforms
public String[] getTargetPlatforms()
- Specified by:
getTargetPlatforms
in interface org.nuxeo.connect.update.Package
getDependencies
public org.nuxeo.connect.update.PackageDependency[] getDependencies()
- Specified by:
getDependencies
in interface org.nuxeo.connect.update.Package
getType
public org.nuxeo.connect.update.PackageType getType()
- Specified by:
getType
in interface org.nuxeo.connect.update.Package
getHomePage
public String getHomePage()
- Specified by:
getHomePage
in interface org.nuxeo.connect.update.Package
getVersion
public org.nuxeo.connect.update.Version getVersion()
- Specified by:
getVersion
in interface org.nuxeo.connect.update.Package
getVendor
public String getVendor()
- Specified by:
getVendor
in interface org.nuxeo.connect.update.Package
isLocal
public boolean isLocal()
- Specified by:
isLocal
in interface org.nuxeo.connect.update.Package
getInstallTask
public org.nuxeo.connect.update.task.Task getInstallTask()
throws org.nuxeo.connect.update.PackageException
- Specified by:
getInstallTask
in interface org.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
getUninstallTask
public org.nuxeo.connect.update.task.Task getUninstallTask()
throws org.nuxeo.connect.update.PackageException
- Specified by:
getUninstallTask
in interface org.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
getValidator
public org.nuxeo.connect.update.Validator getValidator()
throws org.nuxeo.connect.update.PackageException
- Specified by:
getValidator
in interface org.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
getForms
public org.nuxeo.connect.update.model.Form[] getForms(String path)
throws org.nuxeo.connect.update.PackageException
- Throws:
org.nuxeo.connect.update.PackageException
getValidationForms
public org.nuxeo.connect.update.model.Form[] getValidationForms()
throws org.nuxeo.connect.update.PackageException
- Specified by:
getValidationForms
in interface org.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
getInstallForms
public org.nuxeo.connect.update.model.Form[] getInstallForms()
throws org.nuxeo.connect.update.PackageException
- Specified by:
getInstallForms
in interface org.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
getUninstallForms
public org.nuxeo.connect.update.model.Form[] getUninstallForms()
throws org.nuxeo.connect.update.PackageException
- Specified by:
getUninstallForms
in interface org.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
getTermsAndConditionsContent
public String getTermsAndConditionsContent()
throws org.nuxeo.connect.update.PackageException
- Specified by:
getTermsAndConditionsContent
in interface org.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
requireTermsAndConditionsAcceptance
public boolean requireTermsAndConditionsAcceptance()
- Specified by:
requireTermsAndConditionsAcceptance
in interface org.nuxeo.connect.update.LocalPackage
getProductionState
public org.nuxeo.connect.update.ProductionState getProductionState()
- Specified by:
getProductionState
in interface org.nuxeo.connect.update.Package
getValidationState
public org.nuxeo.connect.update.NuxeoValidationState getValidationState()
- Specified by:
getValidationState
in interface org.nuxeo.connect.update.Package
isSupported
public boolean isSupported()
- Specified by:
isSupported
in interface org.nuxeo.connect.update.Package
supportsHotReload
public boolean supportsHotReload()
- Specified by:
supportsHotReload
in interface org.nuxeo.connect.update.Package
Copyright © 2011 Nuxeo SAS. All Rights Reserved.