Class PathChangerJob

  • All Implemented Interfaces:
    de.uka.ipd.sdq.workflow.jobs.IJob

    public class PathChangerJob
    extends Object
    implements de.uka.ipd.sdq.workflow.jobs.IJob
    This job modifies the paths to PCM Models in the SimuLizarWorkflowConfiguration to the temporary model created by PerOpteryx and stored by SimulizarJob.
    • Constructor Detail

      • PathChangerJob

        public PathChangerJob​(org.palladiosimulator.simulizar.runconfig.SimuLizarWorkflowConfiguration configuration)
        Create the job
        Parameters:
        configuration - the configuration to be changed by AbstractCodeGenerationWorkflowRunConfiguration.getStoragePluginID()
    • Method Detail

      • execute

        public void execute​(IProgressMonitor monitor)
                     throws de.uka.ipd.sdq.workflow.jobs.JobFailedException,
                            de.uka.ipd.sdq.workflow.jobs.UserCanceledException
        Specified by:
        execute in interface de.uka.ipd.sdq.workflow.jobs.IJob
        Throws:
        de.uka.ipd.sdq.workflow.jobs.JobFailedException
        de.uka.ipd.sdq.workflow.jobs.UserCanceledException
      • cleanup

        public void cleanup​(IProgressMonitor monitor)
                     throws de.uka.ipd.sdq.workflow.jobs.CleanupFailedException
        Specified by:
        cleanup in interface de.uka.ipd.sdq.workflow.jobs.IJob
        Throws:
        de.uka.ipd.sdq.workflow.jobs.CleanupFailedException
      • getName

        public String getName()
        Specified by:
        getName in interface de.uka.ipd.sdq.workflow.jobs.IJob