| | |
| | | List<String> unacceptableReasons) |
| | | { |
| | | boolean configAcceptable = true; |
| | | DN configEntryDN = configuration.dn(); |
| | | DN cfgEntryDN = configuration.dn(); |
| | | |
| | | // Make sure that the plugin is only registered as a startup plugin. |
| | | if (configuration.getPluginType().isEmpty()) |
| | | { |
| | | int msgID = MSGID_PLUGIN_PROFILER_NO_PLUGIN_TYPES; |
| | | String message = getMessage(msgID, String.valueOf(configEntryDN)); |
| | | String message = getMessage(msgID, String.valueOf(cfgEntryDN)); |
| | | unacceptableReasons.add(message); |
| | | configAcceptable = false; |
| | | } |
| | |
| | | if (t != PluginCfgDefn.PluginType.STARTUP) |
| | | { |
| | | int msgID = MSGID_PLUGIN_PROFILER_INVALID_PLUGIN_TYPE; |
| | | String message = getMessage(msgID, String.valueOf(configEntryDN), |
| | | String message = getMessage(msgID, String.valueOf(cfgEntryDN), |
| | | String.valueOf(t)); |
| | | unacceptableReasons.add(message); |
| | | configAcceptable = false; |
| | |
| | | int msgID = MSGID_PLUGIN_PROFILER_INVALID_PROFILE_DIR; |
| | | unacceptableReasons.add(getMessage(msgID, |
| | | profileDirectory.getAbsolutePath(), |
| | | String.valueOf(configEntryDN))); |
| | | String.valueOf(cfgEntryDN))); |
| | | configAcceptable = false; |
| | | } |
| | | |