@ProviderType
public interface TaskContext
Modifier and Type | Method and Description |
---|---|
void |
addAssetScanInfo(AssetScanInfo assetScanInfo)
Adding scan report into context.
|
void |
error(java.lang.String msg,
java.lang.Object... param)
Provide user friendly error msg
|
java.lang.Object |
getAttribute(java.lang.String key)
Get arbitrary attribute from the ctx
|
java.util.List<TaskContext> |
getChildContexts()
returns array of child context
|
java.lang.String |
getPath()
Resource on which migration is to be run
Resource can be anything nt:file, nt:folder etc.
|
ResourceResolver |
getResourceResolver() |
java.lang.String[] |
getSelectors()
Current Selector
|
void |
info(java.lang.String msg,
java.lang.Object... param)
Provide progress info for migration
|
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Set arbitrary Attribute
|
void |
success(java.lang.String msg,
java.lang.Object... param)
Provide success message if successfully
commited a migration
|
void |
warn(java.lang.String msg,
java.lang.Object... param)
Provide warn message
|
java.lang.String getPath()
ResourceResolver getResourceResolver()
void info(java.lang.String msg, java.lang.Object... param)
msg
- void error(java.lang.String msg, java.lang.Object... param)
msg
- void success(java.lang.String msg, java.lang.Object... param)
void warn(java.lang.String msg, java.lang.Object... param)
java.lang.Object getAttribute(java.lang.String key)
void setAttribute(java.lang.String key, java.lang.Object value)
key
- value
- java.lang.String[] getSelectors()
java.util.List<TaskContext> getChildContexts()
void addAssetScanInfo(AssetScanInfo assetScanInfo)
assetScanInfo
- Copyright © 2010 - 2020 Adobe. All Rights Reserved