public enum PluginOperationStatus extends Enum<PluginOperationStatus>
PluginManager methods.| Enum Constant and Description |
|---|
CANNOT_DOWNGRADE_PLUGIN
Plugin cannot be downgraded.
|
CANNOT_INSTALL_PLUGIN_FILE
Plugin cannot be installed - plugin's file doesn't exist, cannot be read or move to target directory.
|
CANNOT_UPLOAD_PLUGIN
Plugin's file cannot be uploaded.
|
CORRUPTED_PLUGIN
Plugin's file was successfully uploaded but it is not a JAR file or the descriptor hasn't been found.
|
DEPENDENCIES_CYCLES_EXISTS
Plugin cannot be installed - dependencies cycles exists.
|
DEPENDENCIES_TO_DISABLE
Plugin cannot be disabled because it's a dependency for enabled plugins.
|
DEPENDENCIES_TO_ENABLE
Plugin cannot be enabled because its dependencies are not enabled.
|
DEPENDENCIES_TO_UNINSTALL
Plugin cannot be uninstalled because it's a dependency for other plugins.
|
PLUGIN_ENABLING_ENCOUNTERED_ERRORS
Plugin cannot be enabled because of encountered errors
|
PLUGIN_ENABLING_IS_NOT_ALLOWED
Plugin cannot be enabled - was disabled by system admin or shop service.
|
PLUGIN_NOT_EXIST
Plugin not exist.
|
SUCCESS
Operation was successful.
|
SUCCESS_WITH_MISSING_DEPENDENCIES
Plugin was successfully installed, but there are missing dependencies required to enable plugin.
|
SUCCESS_WITH_RESTART
Operation was successful, but restart is necessary.
|
SYSTEM_PLUGIN_DISABLING
System plugin cannot be disabled.
|
SYSTEM_PLUGIN_UNINSTALLING
System plugin cannot be unistalled.
|
SYSTEM_PLUGIN_UPDATING
System plugin cannot be updated.
|
UNSATISFIED_DEPENDENCIES
Plugin cannot be installed or enabled because there are missing dependencies.
|
UNSATISFIED_DEPENDENCIES_AFTER_UPDATE
Plugin cannot be updated because it's a dependency for other plugins, and these plugins have to been disabled.
|
| Modifier and Type | Method and Description |
|---|---|
static PluginOperationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluginOperationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginOperationStatus CANNOT_DOWNGRADE_PLUGIN
public static final PluginOperationStatus CANNOT_INSTALL_PLUGIN_FILE
public static final PluginOperationStatus CANNOT_UPLOAD_PLUGIN
public static final PluginOperationStatus CORRUPTED_PLUGIN
public static final PluginOperationStatus DEPENDENCIES_CYCLES_EXISTS
public static final PluginOperationStatus DEPENDENCIES_TO_DISABLE
public static final PluginOperationStatus DEPENDENCIES_TO_ENABLE
public static final PluginOperationStatus DEPENDENCIES_TO_UNINSTALL
public static final PluginOperationStatus PLUGIN_ENABLING_ENCOUNTERED_ERRORS
public static final PluginOperationStatus PLUGIN_ENABLING_IS_NOT_ALLOWED
public static final PluginOperationStatus PLUGIN_NOT_EXIST
public static final PluginOperationStatus SUCCESS
public static final PluginOperationStatus SUCCESS_WITH_MISSING_DEPENDENCIES
public static final PluginOperationStatus SUCCESS_WITH_RESTART
public static final PluginOperationStatus SYSTEM_PLUGIN_DISABLING
public static final PluginOperationStatus SYSTEM_PLUGIN_UNINSTALLING
public static final PluginOperationStatus SYSTEM_PLUGIN_UPDATING
public static final PluginOperationStatus UNSATISFIED_DEPENDENCIES
public static final PluginOperationStatus UNSATISFIED_DEPENDENCIES_AFTER_UPDATE
public static PluginOperationStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static PluginOperationStatus[] values()
for (PluginOperationStatus c : PluginOperationStatus.values()) System.out.println(c);
Copyright © 2010-2025 Qcadoo Limited