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

com.netgrif.application.engine.startup.PdfRunner.groovy Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
package com.netgrif.application.engine.startup

import com.netgrif.application.engine.pdf.generator.config.PdfResource
import com.netgrif.application.engine.pdf.generator.service.PdfDrawer
import com.netgrif.application.engine.pdf.generator.service.PdfGenerator
import groovy.util.logging.Slf4j
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Component

@Component
@Slf4j
class PdfRunner extends AbstractOrderedCommandLineRunner{

    @Autowired
    private PdfResource resource

    @Override
    void run(String... args) throws Exception {
        assert resource.fontTitleResource.exists()
        assert resource.fontLabelResource.exists()
        assert resource.fontValueResource.exists()

        assert resource.checkBoxCheckedResource.exists()
        assert resource.checkBoxUnCheckedResource.exists()
        assert resource.radioCheckedResource.exists()
        assert resource.radioUnCheckedResource.exists()
        assert resource.booleanCheckedResource.exists()
        assert resource.booleanUncheckedResource.exists()
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy