Package org.apache.sling.installer.api.tasks

Examples of org.apache.sling.installer.api.tasks.TaskResource


        }
        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 {
View Full Code Here


        }
        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 {
View Full Code Here

TOP

Related Classes of org.apache.sling.installer.api.tasks.TaskResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.