public abstract class GenericFileContribution extends Object implements BusinessArchiveContribution
| Constructor and Description |
|---|
GenericFileContribution() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getFileName() |
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, isMandatorypublic abstract String getFileName()
public boolean readFromBarFolder(BusinessArchive businessArchive, File barFolder) throws IOException
BusinessArchiveContributionBusinessArchive with information read from the file system and returns true if the information was successfully read or false otherwise.readFromBarFolder in interface BusinessArchiveContributionbusinessArchive - 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.BusinessArchivepublic void saveToBarFolder(BusinessArchive businessArchive, File barFolder) throws IOException
BusinessArchiveContributionsaveToBarFolder in interface BusinessArchiveContributionbusinessArchive - 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.Copyright © 2018 Bonitasoft S.A.. All rights reserved.