public interface BusinessArchiveContribution
BusinessArchive. It's able to read/write information from/to the file system.BusinessArchive| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Retrieves the
BusinessArchiveContribution name |
boolean |
isMandatory()
Checks if this
BusinessArchiveContribution is mandatory |
boolean |
readFromBarFolder(BusinessArchive businessArchive,
File barFolder)
Updates the
BusinessArchive with information read from the file system and returns true if the information was successfully read or false otherwise. |
void |
saveToBarFolder(BusinessArchive businessArchive,
File barFolder)
Writes the content of the BusinessArchive to the file system
|
boolean readFromBarFolder(BusinessArchive businessArchive, File barFolder) throws IOException, InvalidBusinessArchiveFormatException
BusinessArchive with information read from the file system and returns true if the information was successfully read or false otherwise.businessArchive - the BusinessArchive to be filled with information read from the file systembarFolder - the folder storing the information to be filled in the BusinessArchiveIOException - if a problem occurs when reading information from file system.InvalidBusinessArchiveFormatException - when the folder from which the information is being read has an invalid format.BusinessArchivevoid saveToBarFolder(BusinessArchive businessArchive, File barFolder) throws IOException
businessArchive - the BusinessArchive containing the information to be stored in the file systembarFolder - the folder where the BusinessArchive information will be stored.IOException - when a problem occurs when the information is being stored in the file system.boolean isMandatory()
BusinessArchiveContribution is mandatoryBusinessArchiveContribution is mandatory; false otherwiseString getName()
BusinessArchiveContribution nameBusinessArchiveContribution nameCopyright © 2018 Bonitasoft S.A.. All rights reserved.