public final class Feature extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Feature.STRATEGY
Feature strategy enum.
|
Constructor and Description |
---|
Feature(String id,
String description)
Default constructor (no feature inheritance).
|
Feature(String id,
String description,
Feature.STRATEGY strategy)
Alternative constructor allowing to customize
Feature.STRATEGY . |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getId() |
Feature.STRATEGY |
getStrategy() |
public Feature(String id, String description)
id
- the feature iddescription
- the feature descriptionpublic Feature(String id, String description, Feature.STRATEGY strategy)
Feature.STRATEGY
.id
- the feature iddescription
- the feature descriptionstrategy
- the feature Feature.STRATEGY
public String getId()
public String getDescription()
public Feature.STRATEGY getStrategy()
Copyright © 2018. All rights reserved.