public class CaseMarshallerFactory extends Object
Modifier and Type | Method and Description |
---|---|
static CaseMarshallerFactory |
builder()
Builds new instance of the factory to append marshalling strategies to
with thread context classloader
|
static CaseMarshallerFactory |
builder(ClassLoader classLoader)
Builds new instance of the factory to append marshalling strategies to
|
org.kie.api.marshalling.ObjectMarshallingStrategy |
get()
Returns fully configured CaseFileMarshaller with previously set child marshallers
|
String |
toString()
Retruns string representation (as mvel expression) of the configuration
|
CaseMarshallerFactory |
with(org.kie.api.marshalling.ObjectMarshallingStrategy custom)
Adds given custom marshalling strategy to be used by CaseFileMarshaller
|
CaseMarshallerFactory |
withDoc()
Adds document marshalling strategy to be used by CaseFileMarshaller
|
CaseMarshallerFactory |
withJpa(String puName)
Add JPA marshalling strategy to be used by CaseFileMarshaller
|
public CaseMarshallerFactory withDoc()
public CaseMarshallerFactory withJpa(String puName)
puName
- persistence unit name to be usedpublic CaseMarshallerFactory with(org.kie.api.marshalling.ObjectMarshallingStrategy custom)
custom
- any marshalling strategy fully configuredpublic org.kie.api.marshalling.ObjectMarshallingStrategy get()
public String toString()
public static CaseMarshallerFactory builder(ClassLoader classLoader)
classLoader
- custom class loader to be usedpublic static CaseMarshallerFactory builder()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.