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(java.lang.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,
java.lang.String alias)
Set the finished state for the resource and the alias
|
void |
InstallTask.setFinishedState(ResourceState state,
java.lang.String alias,
java.lang.String error)
Set the finish state for the active resource and alias (may be null).
|
void |
TaskResourceGroup.setFinishState(ResourceState state)
Set the finish state for the active resource.
|
void |
TaskResourceGroup.setFinishState(ResourceState state,
java.lang.String alias)
Set the finish state for the active resource and register an alias.
|
void |
TaskResourceGroup.setFinishState(ResourceState state,
java.lang.String alias,
java.lang.String error)
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,
java.util.Map<java.lang.String,java.lang.Object> addAttributes,
java.lang.String[] removeAttributes)
Change the state of the task
|
ChangeStateTask(TaskResourceGroup r,
ResourceState s,
java.util.Map<java.lang.String,java.lang.Object> addAttributes,
java.lang.String[] removeAttributes,
java.lang.String error)
Change the state of the task
|
ChangeStateTask(TaskResourceGroup r,
ResourceState s,
java.lang.String error)
Change the state of the task
|
Copyright © 2018 The Apache Software Foundation. All rights reserved.