Search in sources :

Example 1 with FlowConfigurationDTO

use of org.apache.nifi.web.api.dto.FlowConfigurationDTO in project nifi by apache.

the class StandardNiFiServiceFacade method getFlowConfiguration.

@Override
public FlowConfigurationEntity getFlowConfiguration() {
    final FlowConfigurationDTO dto = dtoFactory.createFlowConfigurationDto(properties.getAutoRefreshInterval());
    final FlowConfigurationEntity entity = new FlowConfigurationEntity();
    entity.setFlowConfiguration(dto);
    return entity;
}
Also used : FlowConfigurationDTO(org.apache.nifi.web.api.dto.FlowConfigurationDTO) FlowConfigurationEntity(org.apache.nifi.web.api.entity.FlowConfigurationEntity)

Aggregations

FlowConfigurationDTO (org.apache.nifi.web.api.dto.FlowConfigurationDTO)1 FlowConfigurationEntity (org.apache.nifi.web.api.entity.FlowConfigurationEntity)1