public class LocalPackageImpl extends Object implements org.nuxeo.connect.update.LocalPackage
Modifier and Type | Field and Description |
---|---|
protected LocalPackageData |
data |
protected PackageDefinitionImpl |
def |
protected String |
id |
protected org.nuxeo.connect.update.PackageState |
state |
Constructor and Description |
---|
LocalPackageImpl(ClassLoader parent,
File file,
int state,
org.nuxeo.connect.update.PackageUpdateService pus)
Deprecated.
Since 5.8. Use
LocalPackageImpl(ClassLoader, File, PackageState, PackageUpdateService)
instead. |
LocalPackageImpl(ClassLoader parent,
File file,
org.nuxeo.connect.update.PackageState state,
org.nuxeo.connect.update.PackageUpdateService pus) |
LocalPackageImpl(File file,
int state,
org.nuxeo.connect.update.PackageUpdateService pus)
Deprecated.
Since 5.8. Use
LocalPackageImpl(File, PackageState, PackageUpdateService) instead. |
LocalPackageImpl(File file,
org.nuxeo.connect.update.PackageState state,
org.nuxeo.connect.update.PackageUpdateService pus) |
Modifier and Type | Method and Description |
---|---|
String |
getClassifier() |
org.nuxeo.connect.update.PackageDependency[] |
getConflicts() |
LocalPackageData |
getData() |
org.nuxeo.connect.update.PackageDependency[] |
getDependencies() |
String |
getDescription() |
org.nuxeo.connect.update.model.Form[] |
getForms(String path) |
String |
getHomePage() |
String |
getId() |
File |
getInstallFile() |
org.nuxeo.connect.update.model.Form[] |
getInstallForms() |
org.nuxeo.connect.update.task.Task |
getInstallTask() |
String |
getLicenseContent() |
String |
getLicenseType() |
String |
getLicenseUrl() |
String |
getName() |
org.nuxeo.connect.update.PackageState |
getPackageState() |
org.nuxeo.connect.update.ProductionState |
getProductionState() |
org.nuxeo.connect.update.PackageDependency[] |
getProvides() |
int |
getState()
Deprecated.
|
String[] |
getTargetPlatforms() |
protected org.nuxeo.connect.update.task.Task |
getTask(org.nuxeo.connect.update.model.TaskDefinition tdef) |
String |
getTermsAndConditionsContent() |
String |
getTitle() |
org.nuxeo.connect.update.PackageType |
getType() |
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() |
String |
getVendor() |
org.nuxeo.connect.update.Version |
getVersion() |
org.nuxeo.connect.update.PackageVisibility |
getVisibility() |
boolean |
isLocal() |
boolean |
isSupported() |
boolean |
requireTermsAndConditionsAcceptance() |
void |
setState(int state)
Deprecated.
|
void |
setState(org.nuxeo.connect.update.PackageState state) |
boolean |
supportsHotReload() |
String |
toString() |
protected org.nuxeo.connect.update.PackageState state
protected LocalPackageData data
protected PackageDefinitionImpl def
@Deprecated public LocalPackageImpl(File file, int state, org.nuxeo.connect.update.PackageUpdateService pus) throws org.nuxeo.connect.update.PackageException
LocalPackageImpl(File, PackageState, PackageUpdateService)
instead.org.nuxeo.connect.update.PackageException
@Deprecated public LocalPackageImpl(ClassLoader parent, File file, int state, org.nuxeo.connect.update.PackageUpdateService pus) throws org.nuxeo.connect.update.PackageException
LocalPackageImpl(ClassLoader, File, PackageState, PackageUpdateService)
instead.org.nuxeo.connect.update.PackageException
public LocalPackageImpl(File file, org.nuxeo.connect.update.PackageState state, org.nuxeo.connect.update.PackageUpdateService pus) throws org.nuxeo.connect.update.PackageException
org.nuxeo.connect.update.PackageException
public LocalPackageImpl(ClassLoader parent, File file, org.nuxeo.connect.update.PackageState state, org.nuxeo.connect.update.PackageUpdateService pus) throws org.nuxeo.connect.update.PackageException
org.nuxeo.connect.update.PackageException
@Deprecated public void setState(int state)
setState
in interface org.nuxeo.connect.update.LocalPackage
public void setState(org.nuxeo.connect.update.PackageState state)
setState
in interface org.nuxeo.connect.update.LocalPackage
public LocalPackageData getData()
getData
in interface org.nuxeo.connect.update.LocalPackage
public File getInstallFile() throws org.nuxeo.connect.update.PackageException
getInstallFile
in interface org.nuxeo.connect.update.LocalPackage
org.nuxeo.connect.update.PackageException
public File getUninstallFile() throws org.nuxeo.connect.update.PackageException
getUninstallFile
in interface org.nuxeo.connect.update.LocalPackage
org.nuxeo.connect.update.PackageException
public String getLicenseType()
getLicenseType
in interface org.nuxeo.connect.update.Package
public String getLicenseUrl()
getLicenseUrl
in interface org.nuxeo.connect.update.Package
public String getLicenseContent() throws org.nuxeo.connect.update.PackageException
getLicenseContent
in interface org.nuxeo.connect.update.LocalPackage
org.nuxeo.connect.update.PackageException
public String getClassifier()
getClassifier
in interface org.nuxeo.connect.update.Package
public String getDescription()
getDescription
in interface org.nuxeo.connect.update.Package
public String getTitle()
getTitle
in interface org.nuxeo.connect.update.Package
@Deprecated public int getState()
getState
in interface org.nuxeo.connect.update.Package
public org.nuxeo.connect.update.PackageState getPackageState()
getPackageState
in interface org.nuxeo.connect.update.Package
public String[] getTargetPlatforms()
getTargetPlatforms
in interface org.nuxeo.connect.update.Package
public org.nuxeo.connect.update.PackageDependency[] getDependencies()
getDependencies
in interface org.nuxeo.connect.update.Package
public org.nuxeo.connect.update.PackageDependency[] getConflicts()
getConflicts
in interface org.nuxeo.connect.update.Package
public org.nuxeo.connect.update.PackageDependency[] getProvides()
getProvides
in interface org.nuxeo.connect.update.Package
public org.nuxeo.connect.update.PackageType getType()
getType
in interface org.nuxeo.connect.update.Package
public String getHomePage()
getHomePage
in interface org.nuxeo.connect.update.Package
public org.nuxeo.connect.update.Version getVersion()
getVersion
in interface org.nuxeo.connect.update.Package
public String getVendor()
getVendor
in interface org.nuxeo.connect.update.Package
public boolean isLocal()
isLocal
in interface org.nuxeo.connect.update.Package
public org.nuxeo.connect.update.task.Task getInstallTask() throws org.nuxeo.connect.update.PackageException
getInstallTask
in interface org.nuxeo.connect.update.LocalPackage
org.nuxeo.connect.update.PackageException
public org.nuxeo.connect.update.task.Task getUninstallTask() throws org.nuxeo.connect.update.PackageException
getUninstallTask
in interface org.nuxeo.connect.update.LocalPackage
org.nuxeo.connect.update.PackageException
protected org.nuxeo.connect.update.task.Task getTask(org.nuxeo.connect.update.model.TaskDefinition tdef) throws org.nuxeo.connect.update.PackageException
org.nuxeo.connect.update.PackageException
public org.nuxeo.connect.update.Validator getValidator() throws org.nuxeo.connect.update.PackageException
getValidator
in interface org.nuxeo.connect.update.LocalPackage
org.nuxeo.connect.update.PackageException
public org.nuxeo.connect.update.model.Form[] getForms(String path) throws org.nuxeo.connect.update.PackageException
org.nuxeo.connect.update.PackageException
public org.nuxeo.connect.update.model.Form[] getValidationForms() throws org.nuxeo.connect.update.PackageException
getValidationForms
in interface org.nuxeo.connect.update.LocalPackage
org.nuxeo.connect.update.PackageException
public org.nuxeo.connect.update.model.Form[] getInstallForms() throws org.nuxeo.connect.update.PackageException
getInstallForms
in interface org.nuxeo.connect.update.LocalPackage
org.nuxeo.connect.update.PackageException
public org.nuxeo.connect.update.model.Form[] getUninstallForms() throws org.nuxeo.connect.update.PackageException
getUninstallForms
in interface org.nuxeo.connect.update.LocalPackage
org.nuxeo.connect.update.PackageException
public String getTermsAndConditionsContent() throws org.nuxeo.connect.update.PackageException
getTermsAndConditionsContent
in interface org.nuxeo.connect.update.LocalPackage
org.nuxeo.connect.update.PackageException
public boolean requireTermsAndConditionsAcceptance()
requireTermsAndConditionsAcceptance
in interface org.nuxeo.connect.update.LocalPackage
public org.nuxeo.connect.update.ProductionState getProductionState()
getProductionState
in interface org.nuxeo.connect.update.Package
public org.nuxeo.connect.update.NuxeoValidationState getValidationState()
getValidationState
in interface org.nuxeo.connect.update.Package
public boolean isSupported()
isSupported
in interface org.nuxeo.connect.update.Package
public boolean supportsHotReload()
supportsHotReload
in interface org.nuxeo.connect.update.Package
public org.nuxeo.connect.update.PackageVisibility getVisibility()
getVisibility
in interface org.nuxeo.connect.update.Package
Copyright © 2016 Nuxeo SA. All rights reserved.