public class ArtifactTypeDetector
extends java.lang.Object
| Constructor and Description |
|---|
ArtifactTypeDetector(XmlDetector xmlDetector,
CustomPageDetector customPageDetector,
ProcessDetector processDetector,
ThemeDetector themeDetector,
PageAndFormDetector pageAndFormDetector,
LayoutDetector layoutDetector) |
| Modifier and Type | Method and Description |
|---|---|
void |
detectAndStore(java.lang.String fileName,
java.io.InputStream content,
org.bonitasoft.engine.api.impl.application.deployer.ApplicationArchive.ApplicationArchiveBuilder builder) |
boolean |
isApplication(org.bonitasoft.engine.io.FileAndContent file) |
boolean |
isLayout(org.bonitasoft.engine.io.FileAndContent file) |
boolean |
isPage(org.bonitasoft.engine.io.FileAndContent file) |
boolean |
isProcess(org.bonitasoft.engine.io.FileAndContent file) |
boolean |
isRestApiExtension(org.bonitasoft.engine.io.FileAndContent file) |
boolean |
isTheme(org.bonitasoft.engine.io.FileAndContent file) |
public ArtifactTypeDetector(XmlDetector xmlDetector, CustomPageDetector customPageDetector, ProcessDetector processDetector, ThemeDetector themeDetector, PageAndFormDetector pageAndFormDetector, LayoutDetector layoutDetector)
public boolean isApplication(org.bonitasoft.engine.io.FileAndContent file)
public boolean isRestApiExtension(org.bonitasoft.engine.io.FileAndContent file)
public boolean isPage(org.bonitasoft.engine.io.FileAndContent file)
public boolean isLayout(org.bonitasoft.engine.io.FileAndContent file)
public boolean isTheme(org.bonitasoft.engine.io.FileAndContent file)
public boolean isProcess(org.bonitasoft.engine.io.FileAndContent file)
public void detectAndStore(java.lang.String fileName,
java.io.InputStream content,
org.bonitasoft.engine.api.impl.application.deployer.ApplicationArchive.ApplicationArchiveBuilder builder)
throws java.io.IOException
java.io.IOException