Examples of startType()


Examples of com.volantis.mcs.migrate.api.framework.ResourceMigratorBuilder.startType()

        ResourceMigratorBuilder builder =
                factory.createResourceMigratorBuilder(notificationReporter);

        builder.setTarget(version2);

        builder.startType("type");
        builder.setRegexpPathRecogniser(filename);
        builder.addRegexpContentRecogniser(version1, inputData);
        builder.addStep(version1, version2,
                new TestStreamMigrator(inputData, outputData));
        builder.endType();
View Full Code Here

Examples of com.volantis.mcs.migrate.api.framework.ResourceMigratorBuilder.startType()

        ResourceMigratorBuilder builder =
                factory.createResourceMigratorBuilder(notificationReporter);

        builder.setTarget(v35);

        builder.startType("lpdm");
        builder.setRegexpPathRecogniser(".*mthm");
        builder.addRegexpContentRecogniser(v30,
                PolicySchemas.MARLIN_LPDM_V3_0.getLocationURL());
        builder.addRegexpContentRecogniser(v35,
                PolicySchemas.MARLIN_LPDM_2005_09.getLocationURL());
View Full Code Here

Examples of com.volantis.mcs.migrate.api.framework.ResourceMigratorBuilder.startType()

        // Set the target version for the next type (YEUCH).
        // todo: add this inside the type, and validate to make sure that it is set properly.
        builder.setTarget(repository200602);

        builder.startType("repository");

        builder.setRegexpPathRecogniser(".*\\.(mthm|mimg|mlyt|mtxt|mlnk|" +
                "mrlv|mscr|mdyv|mcht|mbtn|mauc|mgrp)");

        // --------------------------------------------------------------------
View Full Code Here

Examples of com.volantis.mcs.migrate.impl.framework.DefaultResourceMigratorBuilder.startType()

                        mockStreamBufferFactory, mockNotificationReporter);

        builder.setTarget(mockTargetVersion);

        {
            builder.startType("custom type");

            builder.setCustomPathRecogniser(mockPathRecogniser);

            builder.addCustomContentRecogniser(mockContentVersion1,
                    mockContentRecogniser1);
View Full Code Here

Examples of com.volantis.mcs.migrate.impl.framework.DefaultResourceMigratorBuilder.startType()

            builder.endType();
        }

        {
            builder.startType("regexp type");

            builder.setRegexpPathRecogniser("path re");

            builder.addRegexpContentRecogniser(mockContentVersion1,
                    "content re 1");
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.