es.caib.ibkey.bpm.conversion.handler
Class ConversionDecisionHandler
java.lang.Object
es.caib.ibkey.bpm.common.handler.IbkeyBPMLoggerTemplate
es.caib.ibkey.bpm.common.handler.LoggerDecisionHandler
es.caib.ibkey.bpm.conversion.handler.ConversionDecisionHandler
- All Implemented Interfaces:
- java.io.Serializable, org.jbpm.graph.node.DecisionHandler
public class ConversionDecisionHandler
- extends LoggerDecisionHandler
Handler per a decidir si s'ha de convertir el document a PDF o no.
En aquesta implementació, si ja és pdf, no es converteix.
Si hi ha stageAnterior, s'agafa el content-type de l'stage anterior per a decidir si s'ha de convertir.
Si no hi ha stage anterior, és necessari configurar el handler per tal de definir quin serà en content-type del document
- Author:
- u91940
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inputContentType
protected java.lang.String inputContentType
ConversionDecisionHandler
public ConversionDecisionHandler()
decide
public java.lang.String decide(org.jbpm.graph.exe.ExecutionContext ctx)
throws java.lang.Exception
- Throws:
java.lang.Exception
getInputContentType
public java.lang.String getInputContentType()
- Returns:
- the inputContentType
setInputContentType
public void setInputContentType(java.lang.String inputContentType)
- Parameters:
inputContentType - the inputContentType to set
Copyright © 2012 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.