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.Patcher
public String[] getFixedIssues()
getFixedIssues
in interface com.liferay.portal.kernel.patcher.Patcher
public String[] getInstalledPatches()
getInstalledPatches
in interface com.liferay.portal.kernel.patcher.Patcher
public File getPatchDirectory()
getPatchDirectory
in interface com.liferay.portal.kernel.patcher.Patcher
public int getPatchingToolVersion()
getPatchingToolVersion
in interface com.liferay.portal.kernel.patcher.Patcher
public String getPatchingToolVersionDisplayName()
getPatchingToolVersionDisplayName
in interface com.liferay.portal.kernel.patcher.Patcher
public String[] getPatchLevels()
getPatchLevels
in interface com.liferay.portal.kernel.patcher.Patcher
public Properties getProperties()
getProperties
in interface com.liferay.portal.kernel.patcher.Patcher
public String getSeparationId()
getSeparationId
in interface com.liferay.portal.kernel.patcher.Patcher
public boolean hasInconsistentPatchLevels()
hasInconsistentPatchLevels
in interface com.liferay.portal.kernel.patcher.Patcher
public boolean isConfigured()
isConfigured
in interface com.liferay.portal.kernel.patcher.Patcher
public boolean isSeparated()
isSeparated
in interface com.liferay.portal.kernel.patcher.Patcher
public void verifyPatchLevels() throws com.liferay.portal.kernel.patcher.PatchInconsistencyException
verifyPatchLevels
in interface com.liferay.portal.kernel.patcher.Patcher
com.liferay.portal.kernel.patcher.PatchInconsistencyException