}
return map;
}
public InstallTask createTask(TaskResourceGroup taskResourceGroup) {
TaskResource toActivate = taskResourceGroup.getActiveResource();
if (SOLR_INDEX_ARCHIVE_RESOURCE_TYPE.equals(toActivate.getType())) {
if (toActivate.getState() == ResourceState.UNINSTALL) {
return new IndexRemoveTask(taskResourceGroup, getActiveServers());
} else {
return new IndexInstallTask(taskResourceGroup, getActiveServers());
}
} else {