public class ActorMappingContribution extends GenericFileContribution
Modifier and Type | Field and Description |
---|---|
static String |
ACTOR_MAPPING_FILE |
Constructor and Description |
---|
ActorMappingContribution() |
Modifier and Type | Method and Description |
---|---|
String |
getFileName() |
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
|
public static final String ACTOR_MAPPING_FILE
public boolean isMandatory()
BusinessArchiveContribution
BusinessArchiveContribution
is mandatoryBusinessArchiveContribution
is mandatory; false otherwisepublic String getName()
BusinessArchiveContribution
BusinessArchiveContribution
nameBusinessArchiveContribution
namepublic String getFileName()
getFileName
in class GenericFileContribution
public boolean readFromBarFolder(BusinessArchive businessArchive, File barFolder) throws IOException
BusinessArchiveContribution
BusinessArchive
with information read from the file system and returns true if the information was successfully read or false otherwise.readFromBarFolder
in interface BusinessArchiveContribution
readFromBarFolder
in class GenericFileContribution
businessArchive
- the BusinessArchive
to be filled with information read from the file systembarFolder
- the folder storing the information to be filled in the BusinessArchive
IOException
- if a problem occurs when reading information from file system.BusinessArchive
public void saveToBarFolder(BusinessArchive businessArchive, File barFolder) throws IOException
BusinessArchiveContribution
saveToBarFolder
in interface BusinessArchiveContribution
saveToBarFolder
in class GenericFileContribution
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.Copyright © 2016 Bonitasoft S.A.. All rights reserved.