public class PatcherImpl
extends Object
implements com.liferay.portal.kernel.patcher.Patcher
PATCHER_PROPERTIES, PATCHER_SERVICE_PROPERTIES, PROPERTY_FIXED_ISSUES, PROPERTY_INSTALLED_PATCHES, PROPERTY_PATCH_DIRECTORY, PROPERTY_PATCH_LEVELS, PROPERTY_PATCHING_TOOL_VERSION, PROPERTY_PATCHING_TOOL_VERSION_DISPLAY_NAME, PROPERTY_SEPARATED, PROPERTY_SEPARATION_ID| Constructor and Description |
|---|
PatcherImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyPatch(File patchFile) |
String[] |
getFixedIssues() |
String[] |
getInstalledPatches() |
File |
getPatchDirectory() |
int |
getPatchingToolVersion() |
String |
getPatchingToolVersionDisplayName() |
String[] |
getPatchLevels() |
Properties |
getProperties() |
String |
getSeparationId() |
boolean |
hasInconsistentPatchLevels() |
boolean |
isConfigured() |
boolean |
isSeparated() |
void |
verifyPatchLevels() |
public boolean applyPatch(File patchFile)
applyPatch in interface com.liferay.portal.kernel.patcher.Patcherpublic String[] getFixedIssues()
getFixedIssues in interface com.liferay.portal.kernel.patcher.Patcherpublic String[] getInstalledPatches()
getInstalledPatches in interface com.liferay.portal.kernel.patcher.Patcherpublic File getPatchDirectory()
getPatchDirectory in interface com.liferay.portal.kernel.patcher.Patcherpublic int getPatchingToolVersion()
getPatchingToolVersion in interface com.liferay.portal.kernel.patcher.Patcherpublic String getPatchingToolVersionDisplayName()
getPatchingToolVersionDisplayName in interface com.liferay.portal.kernel.patcher.Patcherpublic String[] getPatchLevels()
getPatchLevels in interface com.liferay.portal.kernel.patcher.Patcherpublic Properties getProperties()
getProperties in interface com.liferay.portal.kernel.patcher.Patcherpublic String getSeparationId()
getSeparationId in interface com.liferay.portal.kernel.patcher.Patcherpublic boolean hasInconsistentPatchLevels()
hasInconsistentPatchLevels in interface com.liferay.portal.kernel.patcher.Patcherpublic boolean isConfigured()
isConfigured in interface com.liferay.portal.kernel.patcher.Patcherpublic boolean isSeparated()
isSeparated in interface com.liferay.portal.kernel.patcher.Patcherpublic void verifyPatchLevels()
throws com.liferay.portal.kernel.patcher.PatchInconsistencyException
verifyPatchLevels in interface com.liferay.portal.kernel.patcher.Patchercom.liferay.portal.kernel.patcher.PatchInconsistencyException