Class AbstractImportPatchAction
- java.lang.Object
-
- de.hybris.platform.patches.actions.AbstractImportPatchAction
-
- Direct Known Subclasses:
ImportPatchAction
public abstract class AbstractImportPatchAction extends java.lang.ObjectThis class contains some less complex methods in order to make inheriting classes smaller.
-
-
Field Summary
Fields Modifier and Type Field Description protected ConfigurationServiceconfigurationServiceprotected java.lang.StringextensionPathprotected java.lang.StringglobalPathprotected java.lang.StringpatchPathprotected java.lang.StringreleasePathprotected java.lang.StringreleasesPath
-
Constructor Summary
Constructors Constructor Description AbstractImportPatchAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetBasePath(Patch patch)Create base path that is common for all impexes, in example:
/patchesdemo/releases/release01/patch_01_00ConfigurationServicegetConfigurationService()java.lang.StringgetExtensionPath()java.lang.StringgetGlobalPath()java.lang.StringgetPatchPath()protected java.lang.StringgetPatchPath(Patch patch)Create part of file path to impexes.
In example:
/patchjava.lang.StringgetReleasePath()protected java.lang.StringgetReleasePath(Release release)Create part of file path to impexes.
In example:
/release01java.lang.StringgetReleasesPath()voidsetConfigurationService(ConfigurationService configurationService)voidsetExtensionPath(java.lang.String extensionPath)voidsetGlobalPath(java.lang.String globalPath)voidsetPatchPath(java.lang.String patchPath)voidsetReleasePath(java.lang.String releasePath)voidsetReleasesPath(java.lang.String releasesPath)
-
-
-
Field Detail
-
configurationService
protected ConfigurationService configurationService
-
globalPath
protected java.lang.String globalPath
-
releasePath
protected java.lang.String releasePath
-
releasesPath
protected java.lang.String releasesPath
-
patchPath
protected java.lang.String patchPath
-
extensionPath
protected java.lang.String extensionPath
-
-
Method Detail
-
getBasePath
protected java.lang.String getBasePath(Patch patch)
Create base path that is common for all impexes, in example:
/patchesdemo/releases/release01/patch_01_00- Parameters:
patch-Patch- Returns:
- part of path
- See Also:
getGlobalPath()
-
getReleasePath
protected java.lang.String getReleasePath(Release release)
Create part of file path to impexes.
In example:
/release01- Parameters:
release-Release- Returns:
- file path to release folder for impexes
-
getPatchPath
protected java.lang.String getPatchPath(Patch patch)
Create part of file path to impexes.
In example:
/patch- Parameters:
patch-Patch- Returns:
- file path to patch folder for impexes
-
getReleasePath
public java.lang.String getReleasePath()
-
setReleasePath
public void setReleasePath(java.lang.String releasePath)
-
getPatchPath
public java.lang.String getPatchPath()
-
setPatchPath
public void setPatchPath(java.lang.String patchPath)
-
getGlobalPath
public java.lang.String getGlobalPath()
-
setGlobalPath
public void setGlobalPath(java.lang.String globalPath)
-
getExtensionPath
public java.lang.String getExtensionPath()
-
setExtensionPath
public void setExtensionPath(java.lang.String extensionPath)
-
getReleasesPath
public java.lang.String getReleasesPath()
-
setReleasesPath
public void setReleasesPath(java.lang.String releasesPath)
-
getConfigurationService
public ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
-