com.netgrif.application.engine.startup.PdfRunner.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
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