Examples of VersionRangeBoundingRule


Examples of org.apache.felix.sigil.common.osgi.VersionRangeBoundingRule

    public static VersionRange getDefaultRange(Version version)
    {
        IPreferenceStore store = SigilCore.getDefault().getPreferenceStore();

        VersionRangeBoundingRule lowerBoundRule = VersionRangeBoundingRule.valueOf(store.getString(SigilCore.DEFAULT_VERSION_LOWER_BOUND));
        VersionRangeBoundingRule upperBoundRule = VersionRangeBoundingRule.valueOf(store.getString(SigilCore.DEFAULT_VERSION_UPPER_BOUND));

        VersionRange selectedVersions = VersionRange.newInstance(version, lowerBoundRule,
            upperBoundRule);
        return selectedVersions;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.