@ProviderType public interface InstallationContext
InstallTask
during
execution of a task. The task can schedule tasks to the
current or next execution cycle.
In addition access to an audit log is provided. The task
should make an entry into the log each time a task has
succeeded like something has been installed, updated or
deleted.Modifier and Type | Method and Description |
---|---|
void |
addAsyncTask(InstallTask t)
Deprecated.
A async task should return
true for InstallTask.isAsynchronousTask()
and be add with addTaskToCurrentCycle(InstallTask) |
void |
addTaskToCurrentCycle(InstallTask t)
Schedule a task for execution in the current cycle.
|
void |
addTaskToNextCycle(InstallTask t)
Deprecated.
|
void |
asyncTaskFailed(InstallTask t)
Inform the installer about a failed async task.
|
void |
log(java.lang.String message,
java.lang.Object... args)
Make an entry into the audit log - this should be invoked
by the tasks whenever something has been installed/uninstalled etc.
|
void addTaskToCurrentCycle(InstallTask t)
t
- The install task.@Deprecated void addTaskToNextCycle(InstallTask t)
t
- The install task.void log(java.lang.String message, java.lang.Object... args)
message
- The message to logargs
- Arguments for the message.@Deprecated void addAsyncTask(InstallTask t)
true
for InstallTask.isAsynchronousTask()
and be add with addTaskToCurrentCycle(InstallTask)
t
- The install task.void asyncTaskFailed(InstallTask t)
InstallTask.ASYNC_ATTR_NAME
attribute from the resource.t
- The install task.Copyright © 2010 - 2020 Adobe. All Rights Reserved