public class PluginUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CORE_PLUGIN_NAME1 |
static String |
CORE_PLUGIN_NAME2 |
| Constructor and Description |
|---|
PluginUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getAppInfoFile(String strBasePath) |
static String |
getCoreXMLFile(String strComponentPath) |
static String[] |
getPluginXMLFile(String strComponentPath) |
static boolean |
isCore(String strPluginName) |
static boolean |
updateAppInfoFile(String strFile,
String strVersion,
CommandResult commandResult) |
static String |
updatePluginXMLVersion(String strFile,
String strNewVersion,
CommandResult commandResult) |
public static final String CORE_PLUGIN_NAME1
public static final String CORE_PLUGIN_NAME2
public static boolean isCore(String strPluginName)
strPluginName - plugin nametrue if core or lutece-core, false otherwise.public static boolean updateAppInfoFile(String strFile, String strVersion, CommandResult commandResult)
public static String updatePluginXMLVersion(String strFile, String strNewVersion, CommandResult commandResult)
Copyright © 2019 City of Paris. All rights reserved.