Package org.togglz.console.model
Class StrategyModel
- java.lang.Object
-
- org.togglz.console.model.StrategyModel
-
public class StrategyModel extends Object
-
-
Constructor Summary
Constructors Constructor Description StrategyModel(int index, org.togglz.core.spi.ActivationStrategy strategy, FeatureModel featureModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(ParameterModel param)StringgetId()StringgetLabel()List<ParameterModel>getParameters()org.togglz.core.spi.ActivationStrategygetStrategy()intgetStrategyIndex()booleanisHasParametersWithValues()booleanisSelected()
-
-
-
Constructor Detail
-
StrategyModel
public StrategyModel(int index, org.togglz.core.spi.ActivationStrategy strategy, FeatureModel featureModel)
-
-
Method Detail
-
getLabel
public String getLabel()
-
getId
public String getId()
-
getStrategy
public org.togglz.core.spi.ActivationStrategy getStrategy()
-
isSelected
public boolean isSelected()
-
add
public void add(ParameterModel param)
-
getParameters
public List<ParameterModel> getParameters()
-
getStrategyIndex
public int getStrategyIndex()
-
isHasParametersWithValues
public boolean isHasParametersWithValues()
-
-