|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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. |
java.lang.String |
getAlias()
Get the current alias for this group. |
TaskResource |
getNextActiveResource()
If there is more than the active resource in the group, return the second resource from the group. |
void |
setFinishState(ResourceState state)
Set the finish state for the active resource. |
void |
setFinishState(ResourceState state,
java.lang.String alias)
Set the finish state for the active resource and register an alias. |
| Method Detail |
|---|
TaskResource getActiveResource()
TaskResource getNextActiveResource()
void setFinishState(ResourceState state)
void setFinishState(ResourceState state,
java.lang.String alias)
setFinishState(ResourceState)
but in addition registers an alias id for the resource.
setFinishState(ResourceState)java.lang.String getAlias()
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||