Package com.yahoo.config.model.api
Interface ConfigChangeAction
-
- All Known Subinterfaces:
ConfigChangeRefeedAction
,ConfigChangeRestartAction
public interface ConfigChangeAction
Contains the action to be performed on the given services to handle a config change between the current active model and the next model to prepare.- Author:
- geirst
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ConfigChangeAction.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
allowed()
Returns whether this change should be allowedjava.lang.String
getMessage()
Returns a message describing the config change in detailjava.util.List<ServiceInfo>
getServices()
Returns the list of services where the action must be performedConfigChangeAction.Type
getType()
Returns what type of action is required to handle this config change
-
-
-
Method Detail
-
getType
ConfigChangeAction.Type getType()
Returns what type of action is required to handle this config change
-
getMessage
java.lang.String getMessage()
Returns a message describing the config change in detail
-
getServices
java.util.List<ServiceInfo> getServices()
Returns the list of services where the action must be performed
-
allowed
boolean allowed()
Returns whether this change should be allowed
-
-