Examples of IPreservationAction


Examples of eu.planets_project.pp.plato.services.action.IPreservationAction

        if (!a.isExecutable()) {
            // this alternative has to be evaluated manually, nothing to do here
            return;
        }

        IPreservationAction action =
            PreservationActionServiceFactory.getPreservationAction(a.getAction());

        // if the action is null the service isn't accessible (anymore)
        // we have to set an error message for each sample record
        if (action == null) {
View Full Code Here

Examples of eu.planets_project.pp.plato.services.action.IPreservationAction

            Alternative a = emulationAlternative;
            if (!a.isExecutable()) {
                // this alternative has to be evaluated manually, nothing to do here
                return;
            }
            IPreservationAction action =
                PreservationActionServiceFactory.getPreservationAction(a.getAction());
            /*
             * clear old run description
             */
            if (action == null) {
View Full Code Here

Examples of eu.scape_project.planning.model.interfaces.actions.IPreservationAction

    private void runPreservationAction(Alternative a) {
        if (!a.isExecutable()) {
            return;
        }

        IPreservationAction action = PreservationActionServiceFactory.getPreservationAction(a.getAction());

        if (action == null) {
            String msg = String
                .format(
                    "Preservation action %s - %s is not registered or accessible and cant be executed. (Please check the registry.)",
View Full Code Here

Examples of eu.scape_project.planning.model.interfaces.actions.IPreservationAction

            } catch (ClassNotFoundException e) {
                return null;
            }

            if (serviceLocator instanceof IPreservationAction) {
                IPreservationAction locator = (IPreservationAction) serviceLocator;
                return locator;
            } else {
                throw new IllegalArgumentException(actionClassname + " is not a PreservationAction service.");
            }
        } catch (Exception e) {
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.