public class PatcherImpl
extends java.lang.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(java.io.File patchFile) |
java.lang.String[] |
getFixedIssues() |
java.lang.String[] |
getInstalledPatches() |
java.io.File |
getPatchDirectory() |
int |
getPatchingToolVersion() |
java.lang.String |
getPatchingToolVersionDisplayName() |
java.lang.String[] |
getPatchLevels() |
java.util.Properties |
getProperties() |
java.lang.String |
getSeparationId() |
boolean |
hasInconsistentPatchLevels() |
boolean |
isConfigured() |
boolean |
isSeparated() |
void |
verifyPatchLevels() |
public boolean applyPatch(java.io.File patchFile)
applyPatch
in interface com.liferay.portal.kernel.patcher.Patcher
public java.lang.String[] getFixedIssues()
getFixedIssues
in interface com.liferay.portal.kernel.patcher.Patcher
public java.lang.String[] getInstalledPatches()
getInstalledPatches
in interface com.liferay.portal.kernel.patcher.Patcher
public java.io.File getPatchDirectory()
getPatchDirectory
in interface com.liferay.portal.kernel.patcher.Patcher
public int getPatchingToolVersion()
getPatchingToolVersion
in interface com.liferay.portal.kernel.patcher.Patcher
public java.lang.String getPatchingToolVersionDisplayName()
getPatchingToolVersionDisplayName
in interface com.liferay.portal.kernel.patcher.Patcher
public java.lang.String[] getPatchLevels()
getPatchLevels
in interface com.liferay.portal.kernel.patcher.Patcher
public java.util.Properties getProperties()
getProperties
in interface com.liferay.portal.kernel.patcher.Patcher
public java.lang.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