Class MajorErrorPatch
java.lang.Object
de.hybris.platform.patches.AbstractPatch
de.hybris.platform.patchesdemo.release.AbstractDemoPatch
de.hybris.platform.patchesdemo.release.MajorErrorPatch
- All Implemented Interfaces:
Patch,Rerunnable,DemoPatch,SimpleDemoPatch
Example patch which is switched off by default as it throws major exception, which stops whole init/update process.
Should be switched on to demonstrate error handling or tracking of problems.
-
Field Summary
Fields inherited from class de.hybris.platform.patches.AbstractPatch
importPatchAction, patchId, patchName, release, sqlCommandPatchAction, structureState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateProjectData(StructureState structureState) Creates project data.Methods inherited from class de.hybris.platform.patchesdemo.release.AbstractDemoPatch
createGlobalData, createShopsData, createShopsData, createShopsData, importCountryData, importCountryData, importShopCatalogVersionSpecificData, importShopCatalogVersionSpecificData, importShopSpecificData, importShopSpecificDataMethods inherited from class de.hybris.platform.patches.AbstractPatch
executeUpdateOnDB, executeUpdateOnDB, getPatchDescription, getPatchId, getPatchName, getRelease, getStructureState, importData, importGlobalData, importGlobalData, setImportPatchAction, setSqlCommandPatchActionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.patches.Patch
createEssentialData, getPatchDescription, getPatchId, getPatchName, getRelease, getStructureStateMethods inherited from interface de.hybris.platform.patchesdemo.release.SimpleDemoPatch
createCountryData, createGlobalData, createShopData
-
Constructor Details
-
MajorErrorPatch
public MajorErrorPatch()
-
-
Method Details
-
createProjectData
Creates project data. SeePatch.createProjectData(de.hybris.platform.patches.organisation.StructureState).- Specified by:
createProjectDatain interfacePatch- Overrides:
createProjectDatain classAbstractDemoPatch- Parameters:
structureState- that should be used for creating project data
-