Class ArtifactTypeDetector
java.lang.Object
org.bonitasoft.engine.api.impl.application.installer.detector.ArtifactTypeDetector
@Component
@ConditionalOnSingleCandidate(ArtifactTypeDetector.class)
public class ArtifactTypeDetector
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionArtifactTypeDetector(BdmDetector bdmDetector, LivingApplicationDetector livingApplicationDetector, OrganizationDetector organizationDetector, CustomPageDetector customPageDetector, ProcessDetector processDetector, ThemeDetector themeDetector, PageAndFormDetector pageAndFormDetector, LayoutDetector layoutDetector, IconDetector iconDetector) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckFileAndAddToArchive(File file, ApplicationArchive applicationArchive) booleanisApplication(File file) booleanisApplicationIcon(File file) booleanbooleanbooleanisOrganization(File file) booleanbooleanbooleanisRestApiExtension(File file) boolean
-
Constructor Details
-
ArtifactTypeDetector
public ArtifactTypeDetector(BdmDetector bdmDetector, LivingApplicationDetector livingApplicationDetector, OrganizationDetector organizationDetector, CustomPageDetector customPageDetector, ProcessDetector processDetector, ThemeDetector themeDetector, PageAndFormDetector pageAndFormDetector, LayoutDetector layoutDetector, IconDetector iconDetector)
-
-
Method Details
-
isApplication
- Throws:
IOException
-
isApplicationIcon
- Throws:
IOException
-
isOrganization
- Throws:
IOException
-
isRestApiExtension
- Throws:
IOException
-
isPage
- Throws:
IOException
-
isLayout
- Throws:
IOException
-
isTheme
- Throws:
IOException
-
isBdm
-
isProcess
- Throws:
IOException
-
checkFileAndAddToArchive
public void checkFileAndAddToArchive(File file, ApplicationArchive applicationArchive) throws IOException - Throws:
IOException
-