Class LocalPackageImpl
java.lang.Object
org.nuxeo.connect.update.standalone.LocalPackageImpl
- All Implemented Interfaces:
org.nuxeo.connect.update.LocalPackage
,org.nuxeo.connect.update.Package
- Author:
- Bogdan Stefanescu
-
Field Summary
Modifier and TypeFieldDescriptionprotected LocalPackageData
protected PackageDefinitionImpl
protected String
protected org.nuxeo.connect.update.PackageState
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
ConstructorDescriptionLocalPackageImpl
(File file, org.nuxeo.connect.update.PackageState state, org.nuxeo.connect.update.PackageUpdateService pus) LocalPackageImpl
(ClassLoader parent, File file, org.nuxeo.connect.update.PackageState state, org.nuxeo.connect.update.PackageUpdateService pus) -
Method Summary
Modifier and TypeMethodDescriptionorg.nuxeo.connect.update.PackageDependency[]
getData()
org.nuxeo.connect.update.PackageDependency[]
org.nuxeo.connect.update.model.Form[]
getId()
org.nuxeo.connect.update.model.Form[]
org.nuxeo.connect.update.task.Task
getName()
org.nuxeo.connect.update.PackageDependency[]
org.nuxeo.connect.update.PackageState
org.nuxeo.connect.update.PackageDependency[]
int
getState()
Deprecated.String[]
protected org.nuxeo.connect.update.task.Task
getTask
(org.nuxeo.connect.update.model.TaskDefinition tdef) getTitle()
org.nuxeo.connect.update.PackageType
getType()
org.nuxeo.connect.update.model.Form[]
org.nuxeo.connect.update.task.Task
org.nuxeo.connect.update.model.Form[]
org.nuxeo.connect.update.Validator
org.nuxeo.connect.update.Version
boolean
isLocal()
boolean
void
setState
(int state) Deprecated.void
setState
(org.nuxeo.connect.update.PackageState state) boolean
toString()
-
Field Details
-
id
-
state
protected org.nuxeo.connect.update.PackageState state -
data
-
def
-
-
Constructor Details
-
LocalPackageImpl
public LocalPackageImpl(File file, org.nuxeo.connect.update.PackageState state, org.nuxeo.connect.update.PackageUpdateService pus) throws org.nuxeo.connect.update.PackageException - Throws:
org.nuxeo.connect.update.PackageException
- Since:
- 5.7
-
LocalPackageImpl
public LocalPackageImpl(ClassLoader parent, File file, org.nuxeo.connect.update.PackageState state, org.nuxeo.connect.update.PackageUpdateService pus) throws org.nuxeo.connect.update.PackageException - Throws:
org.nuxeo.connect.update.PackageException
- Since:
- 5.8
-
-
Method Details
-
setState
Deprecated.- Specified by:
setState
in interfaceorg.nuxeo.connect.update.LocalPackage
-
setState
public void setState(org.nuxeo.connect.update.PackageState state) - Specified by:
setState
in interfaceorg.nuxeo.connect.update.LocalPackage
-
getData
- Specified by:
getData
in interfaceorg.nuxeo.connect.update.LocalPackage
-
getInstallFile
- Specified by:
getInstallFile
in interfaceorg.nuxeo.connect.update.LocalPackage
-
getUninstallFile
- Specified by:
getUninstallFile
in interfaceorg.nuxeo.connect.update.LocalPackage
-
getLicenseType
- Specified by:
getLicenseType
in interfaceorg.nuxeo.connect.update.Package
-
getLicenseUrl
- Specified by:
getLicenseUrl
in interfaceorg.nuxeo.connect.update.Package
-
getLicenseContent
- Specified by:
getLicenseContent
in interfaceorg.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
-
getClassifier
- Specified by:
getClassifier
in interfaceorg.nuxeo.connect.update.Package
-
getDescription
- Specified by:
getDescription
in interfaceorg.nuxeo.connect.update.Package
-
getId
- Specified by:
getId
in interfaceorg.nuxeo.connect.update.Package
-
getName
- Specified by:
getName
in interfaceorg.nuxeo.connect.update.Package
-
getTitle
- Specified by:
getTitle
in interfaceorg.nuxeo.connect.update.Package
-
getState
Deprecated.- Specified by:
getState
in interfaceorg.nuxeo.connect.update.Package
-
getPackageState
public org.nuxeo.connect.update.PackageState getPackageState()- Specified by:
getPackageState
in interfaceorg.nuxeo.connect.update.Package
-
getTargetPlatforms
- Specified by:
getTargetPlatforms
in interfaceorg.nuxeo.connect.update.Package
-
getTargetPlatformRange
- Specified by:
getTargetPlatformRange
in interfaceorg.nuxeo.connect.update.Package
-
getTargetPlatformName
- Specified by:
getTargetPlatformName
in interfaceorg.nuxeo.connect.update.Package
-
getDependencies
public org.nuxeo.connect.update.PackageDependency[] getDependencies()- Specified by:
getDependencies
in interfaceorg.nuxeo.connect.update.Package
-
getOptionalDependencies
public org.nuxeo.connect.update.PackageDependency[] getOptionalDependencies()- Specified by:
getOptionalDependencies
in interfaceorg.nuxeo.connect.update.Package
-
getConflicts
public org.nuxeo.connect.update.PackageDependency[] getConflicts()- Specified by:
getConflicts
in interfaceorg.nuxeo.connect.update.Package
-
getProvides
public org.nuxeo.connect.update.PackageDependency[] getProvides()- Specified by:
getProvides
in interfaceorg.nuxeo.connect.update.Package
-
getType
public org.nuxeo.connect.update.PackageType getType()- Specified by:
getType
in interfaceorg.nuxeo.connect.update.Package
-
getVersion
public org.nuxeo.connect.update.Version getVersion()- Specified by:
getVersion
in interfaceorg.nuxeo.connect.update.Package
-
getVendor
- Specified by:
getVendor
in interfaceorg.nuxeo.connect.update.Package
-
isLocal
public boolean isLocal()- Specified by:
isLocal
in interfaceorg.nuxeo.connect.update.Package
-
getInstallTask
public org.nuxeo.connect.update.task.Task getInstallTask() throws org.nuxeo.connect.update.PackageException- Specified by:
getInstallTask
in interfaceorg.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 interfaceorg.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
-
getTask
protected org.nuxeo.connect.update.task.Task getTask(org.nuxeo.connect.update.model.TaskDefinition tdef) throws org.nuxeo.connect.update.PackageException - Throws:
org.nuxeo.connect.update.PackageException
-
getValidator
public org.nuxeo.connect.update.Validator getValidator() throws org.nuxeo.connect.update.PackageException- Specified by:
getValidator
in interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
-
getTermsAndConditionsContent
- Specified by:
getTermsAndConditionsContent
in interfaceorg.nuxeo.connect.update.LocalPackage
- Throws:
org.nuxeo.connect.update.PackageException
-
requireTermsAndConditionsAcceptance
public boolean requireTermsAndConditionsAcceptance()- Specified by:
requireTermsAndConditionsAcceptance
in interfaceorg.nuxeo.connect.update.LocalPackage
-
supportsHotReload
public boolean supportsHotReload()- Specified by:
supportsHotReload
in interfaceorg.nuxeo.connect.update.Package
-
toString
-