Package org.jboss.gravia.resource

Examples of org.jboss.gravia.resource.VersionRange


    }

    @Override
    public Requirement addIdentityRequirement(String symbolicName, String version) {
        NotNullException.assertValue(symbolicName, "symbolicName");
        return addIdentityRequirement(symbolicName, new VersionRange(version), null,  null);
    }
View Full Code Here


                break;
            case VersionRange:
                if (listType) {
                    List<VersionRange> list = new ArrayList<VersionRange>();
                    for (String val : split(valstr)) {
                        list.add(new VersionRange(val.trim()));
                    }
                    value = list;
                } else {
                    value = new VersionRange(valstr);
                }
                break;
            case Long:
                if (listType) {
                    List<Long> list = new ArrayList<Long>();
View Full Code Here

    }

    @Override
    public Requirement addIdentityRequirement(String symbolicName, String range) {
        IllegalArgumentAssertion.assertNotNull(symbolicName, "symbolicName");
        return addIdentityRequirement(symbolicName, range != null ? new VersionRange(range) : null, null,  null);
    }
View Full Code Here

TOP

Related Classes of org.jboss.gravia.resource.VersionRange

Copyright © 2018 www.massapicom. 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.