Package | Description |
---|---|
org.apache.sling.installer.api.info | |
org.apache.sling.installer.api.tasks |
Modifier and Type | Method and Description |
---|---|
ResourceState |
Resource.getState()
Get the current state of the resource.
|
Modifier and Type | Method and Description |
---|---|
ResourceState |
TaskResource.getState()
Get the current state of the resource.
|
static ResourceState |
ResourceState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceState[] |
ResourceState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
InstallTask.setFinishedState(ResourceState state)
Set the finished state for the resource.
|
void |
InstallTask.setFinishedState(ResourceState state,
String alias)
Set the finished state for the resource and the alias
|
void |
TaskResourceGroup.setFinishState(ResourceState state)
Set the finish state for the active resource.
|
void |
TaskResourceGroup.setFinishState(ResourceState state,
String alias)
Set the finish state for the active resource and register an alias.
|
Constructor and Description |
---|
ChangeStateTask(TaskResourceGroup r,
ResourceState s)
Change the state of the task
|
ChangeStateTask(TaskResourceGroup r,
ResourceState s,
Map<String,Object> addAttributes,
String[] removeAttributes)
Change the state of the task
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.