public class OffloadingSetupUtil extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
OffloadingSetupUtil() |
Modifier and Type | Method and Description |
---|---|
static <T extends CQClient> |
enableDisableDAMUpdateAsset(T client,
boolean enable)
Enables/ disables the DAM update asset Workflow
|
static <T extends CQClient> |
enableDisableOffloadingTopic(T client,
boolean enable)
Enables/disables the offloading topic for the instance the client points to, through the Offloading Browser
|
static <T extends CQClient> |
setDAMUpdateAsset(T client)
Replaces the "DAM Update Asset Offloading" Workflow with the original "Dam Update Asset"
This is currently required as part of the offloading setup for the instance that delegates the offloading
|
static <T extends CQClient> |
setDAMUpdateAssetOffloading(T client)
Replaces the "DAM Update Asset" Workflow with the "Dam Update Asset Offloading"
This is currently required as part of the offloading setup for the instance that delegates the offloading
|
public static <T extends CQClient> void setDAMUpdateAssetOffloading(T client) throws org.apache.sling.testing.clients.ClientException, InterruptedException
T
- client typeclient
- client to useorg.apache.sling.testing.clients.ClientException
- if the request failsInterruptedException
- to mark this method as waitingpublic static <T extends CQClient> void setDAMUpdateAsset(T client) throws org.apache.sling.testing.clients.ClientException, InterruptedException
T
- client typeclient
- client to useorg.apache.sling.testing.clients.ClientException
- if the request failsInterruptedException
- to mark this method as waitingpublic static <T extends CQClient> void enableDisableDAMUpdateAsset(T client, boolean enable) throws org.apache.sling.testing.clients.ClientException, InterruptedException
T
- client typeclient
- client to useenable
- true means enable, false means disableorg.apache.sling.testing.clients.ClientException
- if the request failsInterruptedException
- to mark this method as waitingpublic static <T extends CQClient> void enableDisableOffloadingTopic(T client, boolean enable) throws org.apache.sling.testing.clients.ClientException, InterruptedException
T
- client typeclient
- client to useenable
- true means enable, false means disableorg.apache.sling.testing.clients.ClientException
- if the request failsInterruptedException
- to mark this method as waitingCopyright © 2018. All rights reserved.