Class ChannelDefinitionParse
- java.lang.Object
-
- org.flowable.eventregistry.impl.parser.ChannelDefinitionParse
-
public class ChannelDefinitionParse extends Object
Specific parsing of one channel json file.- Author:
- Tijs Rademakers, Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ChannelDefinitionEntity>channelDefinitionsThe end result of the parsing: a list of channel definitions.protected ChannelModelchannelModelprotected EventDeploymentEntitydeploymentThe deployment to which the parsed decision tables will be added.protected static org.slf4j.LoggerLOGGERprotected Stringnameprotected StringsourceSystemIdprotected StreamSourcestreamSource
-
Constructor Summary
Constructors Constructor Description ChannelDefinitionParse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelDefinitionParsedeployment(EventDeploymentEntity deployment)ChannelDefinitionParseexecute(EventRegistryEngineConfiguration eventEngineConfig)List<ChannelDefinitionEntity>getChannelDefinitions()ChannelModelgetChannelModel()EventDeploymentEntitygetDeployment()StringgetSourceSystemId()ChannelDefinitionParsename(String name)voidsetChannelModel(ChannelModel channelModel)voidsetDeployment(EventDeploymentEntity deployment)ChannelDefinitionParsesetSourceSystemId(String sourceSystemId)protected voidsetStreamSource(StreamSource streamSource)ChannelDefinitionParsesourceInputStream(InputStream inputStream)ChannelDefinitionParsesourceResource(String resource)ChannelDefinitionParsesourceString(String string)ChannelDefinitionParsesourceUrl(String url)ChannelDefinitionParsesourceUrl(URL url)
-
-
-
Field Detail
-
LOGGER
protected static final org.slf4j.Logger LOGGER
-
name
protected String name
-
streamSource
protected StreamSource streamSource
-
sourceSystemId
protected String sourceSystemId
-
channelModel
protected ChannelModel channelModel
-
deployment
protected EventDeploymentEntity deployment
The deployment to which the parsed decision tables will be added.
-
channelDefinitions
protected List<ChannelDefinitionEntity> channelDefinitions
The end result of the parsing: a list of channel definitions.
-
-
Method Detail
-
deployment
public ChannelDefinitionParse deployment(EventDeploymentEntity deployment)
-
execute
public ChannelDefinitionParse execute(EventRegistryEngineConfiguration eventEngineConfig)
-
name
public ChannelDefinitionParse name(String name)
-
sourceInputStream
public ChannelDefinitionParse sourceInputStream(InputStream inputStream)
-
getSourceSystemId
public String getSourceSystemId()
-
setSourceSystemId
public ChannelDefinitionParse setSourceSystemId(String sourceSystemId)
-
sourceUrl
public ChannelDefinitionParse sourceUrl(URL url)
-
sourceUrl
public ChannelDefinitionParse sourceUrl(String url)
-
sourceResource
public ChannelDefinitionParse sourceResource(String resource)
-
sourceString
public ChannelDefinitionParse sourceString(String string)
-
setStreamSource
protected void setStreamSource(StreamSource streamSource)
-
getChannelDefinitions
public List<ChannelDefinitionEntity> getChannelDefinitions()
-
getDeployment
public EventDeploymentEntity getDeployment()
-
setDeployment
public void setDeployment(EventDeploymentEntity deployment)
-
getChannelModel
public ChannelModel getChannelModel()
-
setChannelModel
public void setChannelModel(ChannelModel channelModel)
-
-