T - The context typepublic class FaxBridgeFlowHelper<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FaxBridgeFlowHelper.FlowResponse
This class holds the response of the fax bridge flow invocation.
|
| Constructor and Description |
|---|
FaxBridgeFlowHelper(ContextFaxBridge<T> faxBridge,
String type,
Properties configuration,
Object flowOwner)
This is the class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ContextFaxBridge<T> |
getFaxBridge()
This function returns the fax bridge.
|
FaxBridgeFlowHelper.FlowResponse |
submitFaxJob(T inputData,
Object contextData,
boolean invokeVendorPolicy)
This function invokes the submit fax job flow.
As part of the flow, if requested, the vendor policy would be invoked as well. |
public FaxBridgeFlowHelper(ContextFaxBridge<T> faxBridge, String type, Properties configuration, Object flowOwner)
faxBridge - The fax bridgetype - The fax client type (may be null for default type)configuration - The fax client configuration (may be null)flowOwner - The flow owner (servlet, CLI main, ....) to be passed to the vendor policypublic ContextFaxBridge<T> getFaxBridge()
public FaxBridgeFlowHelper.FlowResponse submitFaxJob(T inputData, Object contextData, boolean invokeVendorPolicy)
inputData - The input data for the fax bridgecontextData - The conext data used by the vendor policy (may be same as the input data)invokeVendorPolicy - True to invoke the vendor policyCopyright © 2009–2020 fax4j. All rights reserved.