Class ArtifactTypeDetector
- java.lang.Object
-
- org.bonitasoft.engine.api.impl.application.deployer.detector.ArtifactTypeDetector
-
public class ArtifactTypeDetector extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ArtifactTypeDetector(XmlDetector xmlDetector, CustomPageDetector customPageDetector, ProcessDetector processDetector, ThemeDetector themeDetector, PageAndFormDetector pageAndFormDetector, LayoutDetector layoutDetector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddetectAndStore(java.lang.String fileName, java.io.InputStream content, ApplicationArchive.ApplicationArchiveBuilder builder)booleanisApplication(org.bonitasoft.engine.io.FileAndContent file)booleanisLayout(org.bonitasoft.engine.io.FileAndContent file)booleanisPage(org.bonitasoft.engine.io.FileAndContent file)booleanisProcess(org.bonitasoft.engine.io.FileAndContent file)booleanisRestApiExtension(org.bonitasoft.engine.io.FileAndContent file)booleanisTheme(org.bonitasoft.engine.io.FileAndContent file)
-
-
-
Constructor Detail
-
ArtifactTypeDetector
public ArtifactTypeDetector(XmlDetector xmlDetector, CustomPageDetector customPageDetector, ProcessDetector processDetector, ThemeDetector themeDetector, PageAndFormDetector pageAndFormDetector, LayoutDetector layoutDetector)
-
-
Method Detail
-
isApplication
public boolean isApplication(org.bonitasoft.engine.io.FileAndContent file)
-
isRestApiExtension
public boolean isRestApiExtension(org.bonitasoft.engine.io.FileAndContent file)
-
isPage
public boolean isPage(org.bonitasoft.engine.io.FileAndContent file)
-
isLayout
public boolean isLayout(org.bonitasoft.engine.io.FileAndContent file)
-
isTheme
public boolean isTheme(org.bonitasoft.engine.io.FileAndContent file)
-
isProcess
public boolean isProcess(org.bonitasoft.engine.io.FileAndContent file)
-
detectAndStore
public void detectAndStore(java.lang.String fileName, java.io.InputStream content, ApplicationArchive.ApplicationArchiveBuilder builder) throws java.io.IOException- Throws:
java.io.IOException
-
-