CreatePTIFFProcess.java
1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.granite.workflow.WorkflowException
* com.adobe.granite.workflow.WorkflowSession
* com.adobe.granite.workflow.exec.WorkItem
* com.adobe.granite.workflow.metadata.MetaDataMap
* org.apache.felix.scr.annotations.Component
* org.apache.felix.scr.annotations.Property
* org.apache.felix.scr.annotations.Service
* org.slf4j.Logger
* org.slf4j.LoggerFactory
*/
package com.adobe.cq.dam.s7imaging.impl.is;
import com.adobe.cq.dam.dm.process.workflow.DMImageProcess;
import com.adobe.granite.workflow.WorkflowException;
import com.adobe.granite.workflow.WorkflowSession;
import com.adobe.granite.workflow.exec.WorkItem;
import com.adobe.granite.workflow.metadata.MetaDataMap;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Property;
import org.apache.felix.scr.annotations.Service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Component
@Service
@Property(name="process.label", value={"Create Optimized PTIFF Rendition"})
public class CreatePTIFFProcess
extends DMImageProcess {
private static final Logger log = LoggerFactory.getLogger(CreatePTIFFProcess.class);
@Override
public void execute(WorkItem item, WorkflowSession wfSession, MetaDataMap args) throws WorkflowException {
log.warn("Workflow has been deprecated. Please update your workflow to use the new Dynamic Media workflow steps");
super.execute(item, wfSession, args);
}
}