Class ArtifactTypeDetector
- java.lang.Object
-
- org.bonitasoft.engine.api.impl.application.installer.detector.ArtifactTypeDetector
-
@Component @ConditionalOnSingleCandidate(ArtifactTypeDetector.class) public class ArtifactTypeDetector extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ArtifactTypeDetector(BdmDetector bdmDetector, LivingApplicationDetector livingApplicationDetector, OrganizationDetector organizationDetector, CustomPageDetector customPageDetector, ProcessDetector processDetector, ThemeDetector themeDetector, PageAndFormDetector pageAndFormDetector, LayoutDetector layoutDetector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckFileAndAddToArchive(java.io.File file, ApplicationArchive applicationArchive)booleanisApplication(java.io.File file)booleanisBdm(java.io.File file)booleanisLayout(java.io.File file)booleanisOrganization(java.io.File file)booleanisPage(java.io.File file)booleanisProcess(java.io.File file)booleanisRestApiExtension(java.io.File file)booleanisTheme(java.io.File file)
-
-
-
Constructor Detail
-
ArtifactTypeDetector
public ArtifactTypeDetector(BdmDetector bdmDetector, LivingApplicationDetector livingApplicationDetector, OrganizationDetector organizationDetector, CustomPageDetector customPageDetector, ProcessDetector processDetector, ThemeDetector themeDetector, PageAndFormDetector pageAndFormDetector, LayoutDetector layoutDetector)
-
-
Method Detail
-
isApplication
public boolean isApplication(java.io.File file) throws java.io.IOException- Throws:
java.io.IOException
-
isOrganization
public boolean isOrganization(java.io.File file) throws java.io.IOException- Throws:
java.io.IOException
-
isRestApiExtension
public boolean isRestApiExtension(java.io.File file) throws java.io.IOException- Throws:
java.io.IOException
-
isPage
public boolean isPage(java.io.File file) throws java.io.IOException- Throws:
java.io.IOException
-
isLayout
public boolean isLayout(java.io.File file) throws java.io.IOException- Throws:
java.io.IOException
-
isTheme
public boolean isTheme(java.io.File file) throws java.io.IOException- Throws:
java.io.IOException
-
isBdm
public boolean isBdm(java.io.File file)
-
isProcess
public boolean isProcess(java.io.File file) throws java.io.IOException- Throws:
java.io.IOException
-
checkFileAndAddToArchive
public void checkFileAndAddToArchive(java.io.File file, ApplicationArchive applicationArchive) throws java.io.IOException- Throws:
java.io.IOException
-
-