gshell/gshell-features/src/main/java/org/apache/servicemix/kernel/gshell/features/internal/FeatureImpl.java [32:50]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public class FeatureImpl implements Feature {

    private String id;
    private String name;
    private String version;
    private List<Feature> dependencies = new ArrayList<Feature>();
    private List<String> bundles = new ArrayList<String>();
    private Map<String, Map<String,String>> configs = new HashMap<String, Map<String,String>>();
    public static String SPLIT_FOR_NAME_AND_VERSION = "_split_for_name_and_version_";
    public static String DEFAULT_VERSION = "0.0.0";
    
    public FeatureImpl(String name) {
        this(name, DEFAULT_VERSION);
    }
    
    public FeatureImpl(String name, String version) {
    	this.name = name;
    	this.version = version;
        this.id = name + "-" + version;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



testing/support/src/main/java/org/apache/servicemix/kernel/testing/support/FeatureImpl.java [25:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public class FeatureImpl implements Feature {

    private String id;
    private String name;
    private String version;
    private List<Feature> dependencies = new ArrayList<Feature>();
    private List<String> bundles = new ArrayList<String>();
    private Map<String, Map<String,String>> configs = new HashMap<String, Map<String,String>>();
    public static String SPLIT_FOR_NAME_AND_VERSION = "_split_for_name_and_version_";
    public static String DEFAULT_VERSION = "0.0.0";
    
    public FeatureImpl(String name) {
        this(name, DEFAULT_VERSION);
    }
    
    public FeatureImpl(String name, String version) {
        this.name = name;
        this.version = version;
        this.id = name + "-" + version;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



