public class PatcherImpl extends Object implements com.liferay.portal.kernel.patcher.Patcher
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() |
boolean |
hasInconsistentPatchLevels() |
boolean |
isConfigured() |
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 boolean hasInconsistentPatchLevels()
hasInconsistentPatchLevels
in interface com.liferay.portal.kernel.patcher.Patcher
public boolean isConfigured()
isConfigured
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