Search in sources :

Example 6 with ProcessDefinition

use of com.adobe.acs.commons.mcp.ProcessDefinition in project acs-aem-commons by Adobe-Consulting-Services.

the class FactoryInjectionTest method testDeepPruneFactory.

@Test
public void testDeepPruneFactory() throws Exception {
    ProcessDefinition def = cpm.findDefinitionByNameOrPath("Deep Prune");
    assertNotNull(def);
    assertTrue(def instanceof DeepPrune);
}
Also used : ProcessDefinition(com.adobe.acs.commons.mcp.ProcessDefinition) DeepPrune(com.adobe.acs.commons.mcp.impl.processes.DeepPrune) Test(org.junit.Test)

Example 7 with ProcessDefinition

use of com.adobe.acs.commons.mcp.ProcessDefinition in project acs-aem-commons by Adobe-Consulting-Services.

the class FactoryInjectionTest method testS3IngestorFactory.

@Test
public void testS3IngestorFactory() throws Exception {
    ProcessDefinition def = cpm.findDefinitionByNameOrPath("S3 Asset Ingestor");
    assertNotNull(def);
    assertTrue(def instanceof S3AssetIngestor);
}
Also used : ProcessDefinition(com.adobe.acs.commons.mcp.ProcessDefinition) S3AssetIngestor(com.adobe.acs.commons.mcp.impl.processes.S3AssetIngestor) Test(org.junit.Test)

Aggregations

ProcessDefinition (com.adobe.acs.commons.mcp.ProcessDefinition)7 Test (org.junit.Test)6 ProcessInstance (com.adobe.acs.commons.mcp.ProcessInstance)1 AssetReport (com.adobe.acs.commons.mcp.impl.processes.AssetReport)1 DeepPrune (com.adobe.acs.commons.mcp.impl.processes.DeepPrune)1 FileAssetIngestor (com.adobe.acs.commons.mcp.impl.processes.FileAssetIngestor)1 FolderRelocator (com.adobe.acs.commons.mcp.impl.processes.FolderRelocator)1 ProcessCleanup (com.adobe.acs.commons.mcp.impl.processes.ProcessCleanup)1 S3AssetIngestor (com.adobe.acs.commons.mcp.impl.processes.S3AssetIngestor)1