Search in sources :

Example 1 with BallerinaApplicationRunConfigurationType

use of org.ballerinalang.plugins.idea.runconfig.application.BallerinaApplicationRunConfigurationType in project ballerina by ballerina-lang.

the class BallerinaRunConfigurationProducerTest method createRunMainPackageConfiguration.

private BallerinaApplicationConfiguration createRunMainPackageConfiguration(String filePath) {
    BallerinaApplicationRunConfigurationType type = BallerinaApplicationRunConfigurationType.getInstance();
    BallerinaApplicationConfiguration result = new BallerinaApplicationConfiguration(myFixture.getProject(), "Run Application", type);
    result.setFilePath(filePath);
    return result;
}
Also used : BallerinaApplicationRunConfigurationType(org.ballerinalang.plugins.idea.runconfig.application.BallerinaApplicationRunConfigurationType) BallerinaApplicationConfiguration(org.ballerinalang.plugins.idea.runconfig.application.BallerinaApplicationConfiguration)

Aggregations

BallerinaApplicationConfiguration (org.ballerinalang.plugins.idea.runconfig.application.BallerinaApplicationConfiguration)1 BallerinaApplicationRunConfigurationType (org.ballerinalang.plugins.idea.runconfig.application.BallerinaApplicationRunConfigurationType)1