Nuxeo Enterprise Platform 5.4

org.nuxeo.connect.update.impl
Class LocalPackageImpl

java.lang.Object
  extended by org.nuxeo.connect.update.impl.LocalPackageImpl
All Implemented Interfaces:
org.nuxeo.connect.update.LocalPackage, org.nuxeo.connect.update.Package

public class LocalPackageImpl
extends java.lang.Object
implements org.nuxeo.connect.update.LocalPackage

Author:
Bogdan Stefanescu

Field Summary
 
Fields inherited from interface org.nuxeo.connect.update.LocalPackage
BACKUP_DIR, INSTALL, INSTALL_FORMS, INSTALL_PROPERTIES, LICENSE, MANIFEST, TERMSANDCONDITIONS, UNINSTALL, UNINSTALL_FORMS, VALIDATION_FORMS
 
Constructor Summary
LocalPackageImpl(java.lang.ClassLoader parent, java.io.File file, int state)
           
LocalPackageImpl(java.io.File file, int state)
           
 
Method Summary
 java.lang.String getClassifier()
           
 org.nuxeo.connect.update.PackageData getData()
           
 org.nuxeo.connect.update.PackageDependency[] getDependencies()
           
 java.lang.String getDescription()
           
 org.nuxeo.connect.update.model.Form[] getForms(java.lang.String path)
           
 java.lang.String getHomePage()
           
 java.lang.String getId()
           
 java.io.File getInstallFile()
           
 org.nuxeo.connect.update.model.Form[] getInstallForms()
           
 org.nuxeo.connect.update.task.Task getInstallTask()
           
 java.lang.String getLicenseContent()
           
 java.lang.String getLicenseType()
           
 java.lang.String getLicenseUrl()
           
 java.lang.String getName()
           
 org.nuxeo.connect.update.ProductionState getProductionState()
           
 int getState()
           
 java.lang.String[] getTargetPlatforms()
           
 java.lang.String getTermsAndConditionsContent()
           
 java.lang.String getTitle()
           
 org.nuxeo.connect.update.PackageType getType()
           
 java.io.File getUninstallFile()
           
 org.nuxeo.connect.update.model.Form[] getUninstallForms()
           
 org.nuxeo.connect.update.task.Task getUninstallTask()
           
 org.nuxeo.connect.update.model.Form[] getValidationForms()
           
 org.nuxeo.connect.update.NuxeoValidationState getValidationState()
           
 org.nuxeo.connect.update.Validator getValidator()
           
 java.lang.String getVendor()
           
 org.nuxeo.connect.update.Version getVersion()
           
 boolean isLocal()
           
 boolean isSupported()
           
 boolean requireTermsAndConditionsAcceptance()
           
 void setState(int state)
           
 boolean supportsHotReload()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalPackageImpl

public LocalPackageImpl(java.io.File file,
                        int state)
                 throws org.nuxeo.connect.update.PackageException
Throws:
org.nuxeo.connect.update.PackageException

LocalPackageImpl

public LocalPackageImpl(java.lang.ClassLoader parent,
                        java.io.File file,
                        int state)
                 throws org.nuxeo.connect.update.PackageException
Throws:
org.nuxeo.connect.update.PackageException
Method Detail

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 java.io.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 java.io.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 java.lang.String getLicenseType()
Specified by:
getLicenseType in interface org.nuxeo.connect.update.Package

getLicenseUrl

public java.lang.String getLicenseUrl()
Specified by:
getLicenseUrl in interface org.nuxeo.connect.update.Package

getLicenseContent

public java.lang.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 java.lang.String getClassifier()
Specified by:
getClassifier in interface org.nuxeo.connect.update.Package

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface org.nuxeo.connect.update.Package

getId

public java.lang.String getId()
Specified by:
getId in interface org.nuxeo.connect.update.Package

getName

public java.lang.String getName()
Specified by:
getName in interface org.nuxeo.connect.update.Package

getTitle

public java.lang.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 java.lang.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 java.lang.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 java.lang.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(java.lang.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 java.lang.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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.