Class FeaturesProperties
java.lang.Object
org.springframework.cloud.dataflow.server.config.features.FeaturesProperties
@ConfigurationProperties(prefix="spring.cloud.dataflow.features")
public class FeaturesProperties
extends Object
Configuration properties for all the features that need to be enabled/disabled at the
dataflow server.
- Author:
- Ilayaperumal Gopinathan
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
void
setSchedulesEnabled
(boolean schedulesEnabled) void
setStreamsEnabled
(boolean streamsEnabled) void
setTasksEnabled
(boolean tasksEnabled)
-
Field Details
-
FEATURES_PREFIX
- See Also:
-
STREAMS_ENABLED
- See Also:
-
SCHEDULES_ENABLED
- See Also:
-
TASKS_ENABLED
- See Also:
-
-
Constructor Details
-
FeaturesProperties
public FeaturesProperties()
-
-
Method Details
-
isStreamsEnabled
public boolean isStreamsEnabled() -
setStreamsEnabled
public void setStreamsEnabled(boolean streamsEnabled) -
isTasksEnabled
public boolean isTasksEnabled() -
setTasksEnabled
public void setTasksEnabled(boolean tasksEnabled) -
isSchedulesEnabled
public boolean isSchedulesEnabled() -
setSchedulesEnabled
public void setSchedulesEnabled(boolean schedulesEnabled)
-