public class ExternalResourceContribution extends Object implements BusinessArchiveContribution
Modifier and Type | Field and Description |
---|---|
static String |
EXTERNAL_RESOURCE_FOLDER |
Constructor and Description |
---|
ExternalResourceContribution() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
isMandatory() |
boolean |
readFromBarFolder(BusinessArchive businessArchive,
File barFolder)
Checks if something can be read from the file system
|
void |
saveToBarFolder(BusinessArchive businessArchive,
File barFolder)
Writes the content of the BusinessArchive to the file system
|
public static final String EXTERNAL_RESOURCE_FOLDER
public boolean readFromBarFolder(BusinessArchive businessArchive, File barFolder) throws IOException, InvalidBusinessArchiveFormatException
BusinessArchiveContribution
readFromBarFolder
in interface BusinessArchiveContribution
IOException
InvalidBusinessArchiveFormatException
public void saveToBarFolder(BusinessArchive businessArchive, File barFolder) throws IOException
BusinessArchiveContribution
saveToBarFolder
in interface BusinessArchiveContribution
IOException
public boolean isMandatory()
isMandatory
in interface BusinessArchiveContribution
public String getName()
getName
in interface BusinessArchiveContribution
Copyright © 2013 BonitaSoft. All Rights Reserved.