Package org.openengsb.labs.paxexam.karaf.container.internal.util

Examples of org.openengsb.labs.paxexam.karaf.container.internal.util.NormalisedMavenVersionAdapter


        }
        return new ExamFeaturesFile24(extension, startLevel);
    }

    private static Version retrieveVersion() {
        return new NormalisedMavenVersionAdapter(Info.getPaxExamVersion());
    }
View Full Code Here


    private KarafManipulatorFactory() {
        // Not required for a final class
    }

    public static KarafManipulator createManipulator(String karafVersion) {
        Version version = new NormalisedMavenVersionAdapter(karafVersion);
        if (version.getMajor() < 2 || version.getMajor() == 2 && version.getMinor() < 2) {
            throw new IllegalArgumentException("Karaf versions < 2.2.0 are not supported");
        }
        return new KarafManipulatorStartingFrom220();
    }
View Full Code Here

TOP

Related Classes of org.openengsb.labs.paxexam.karaf.container.internal.util.NormalisedMavenVersionAdapter

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.