org.apache.sling.installer.api.tasks
Interface TaskResourceGroup


public interface TaskResourceGroup

This is a group of resources all pointing to the same artifact, but maybe in different versions or locations.


Method Summary
 TaskResource getActiveResource()
          Return the first resource if it either needs to be installed or uninstalled.
 void setFinishState(ResourceState state)
          Set the finish state for active the resource.
 

Method Detail

getActiveResource

TaskResource getActiveResource()
Return the first resource if it either needs to be installed or uninstalled.


setFinishState

void setFinishState(ResourceState state)
Set the finish state for active the resource. If this resource has been uninstalled, check the next in the list if it needs to be reactivated.



Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.