All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opencds.cqf.operation.RefreshIGOperation Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package org.opencds.cqf.operation;

import org.opencds.cqf.Operation;
import org.opencds.cqf.parameter.RefreshIGParameters;
import org.opencds.cqf.processor.IGProcessor;
import org.opencds.cqf.processor.argument.RefreshIGArgumentProcessor;

public class RefreshIGOperation extends Operation {

    public RefreshIGOperation() {    
    } 

    @Override
    public void execute(String[] args) {
        RefreshIGParameters params = null;
        try {
            params = new RefreshIGArgumentProcessor().parseAndConvert(args);
        }
        catch (Exception e) {
            System.err.println(e.getMessage());
            System.exit(1);
        }
        IGProcessor.publishIG(params);
    }   
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy