@AutoInitialize(initOrder=3) @AutoStart(startOrder=3) @MetricsReporter public class IntegrationFlow extends Object implements XIntegrationFlow, MetricsReportable
IngressConnectorElement
and executes a set of associated
XProcessingElement
Constructor and Description |
---|
IntegrationFlow() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
String |
getEntityId()
Returns the entity ID to be used for metrics streams
|
String |
getFlowFile() |
String |
getFlowFileName() |
String |
getFlowId()
Returns the flow ID to be used for metrics streams
|
String |
getId() |
List<XIngressConnectorElement> |
getIngressConnectors() |
XMetricsEngine |
getMetricsEngine()
Retrieves the metrics engine to be used for this class
|
XProject |
getProject()
Retrieves the
XProject to which this integration flow belongs to |
String |
getProjectId()
Returns the project name to be used for metrics streams
|
String |
getProjectVersion()
Returns the project version to be used for metrics streams
|
Status |
getStatus()
Returns the current status of this Integration Flow
|
void |
init(org.springframework.context.ApplicationContext context) |
void |
reportExecutionStatus(ExecutionResult executionResult)
This method can be used to report the execution status of an Integration Flow for tasks such as metrics reporting
|
void |
setBeanName(String s) |
void |
setFlowFile(String flowFile) |
void |
setFlowPath(File flowPath) |
void |
setProject(XProject project) |
void |
start() |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdditionalProperties
protected volatile Status status
public String getId()
getId
in interface Identifiable
public void setBeanName(String s)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
public void init(org.springframework.context.ApplicationContext context)
init
in interface Initializable
public void destroy()
destroy
in interface Initializable
public void setFlowPath(File flowPath)
public void setFlowFile(String flowFile)
public String getFlowFile()
public XProject getProject()
XProject
to which this integration flow belongs togetProject
in interface XIntegrationFlow
XProject
public String getFlowFileName()
getFlowFileName
in interface XIntegrationFlow
public List<XIngressConnectorElement> getIngressConnectors()
getIngressConnectors
in interface XIntegrationFlow
public void setProject(XProject project)
public XMetricsEngine getMetricsEngine()
MetricsReportable
getMetricsEngine
in interface MetricsReportable
XMetricsEngine
public String getEntityId()
MetricsReportable
getEntityId
in interface MetricsReportable
public String getFlowId()
MetricsReportable
getFlowId
in interface MetricsReportable
public String getProjectId()
MetricsReportable
getProjectId
in interface MetricsReportable
public String getProjectVersion()
MetricsReportable
getProjectVersion
in interface MetricsReportable
public void reportExecutionStatus(ExecutionResult executionResult)
XIntegrationFlow
reportExecutionStatus
in interface XIntegrationFlow
executionResult
- ExecutionResult
of the integration flowpublic Status getStatus()
XIntegrationFlow
getStatus
in interface XIntegrationFlow
Status
Copyright © 2016–2019 AdroitLogic. All rights reserved.