public abstract class ResourceInSpecificFolderContribution extends Object implements BusinessArchiveContribution
Constructor and Description |
---|
ResourceInSpecificFolderContribution() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getFolderName() |
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public ResourceInSpecificFolderContribution()
public boolean readFromBarFolder(BusinessArchive businessArchive, File barFolder) throws IOException, InvalidBusinessArchiveFormatException
BusinessArchiveContribution
readFromBarFolder
in interface BusinessArchiveContribution
IOException
InvalidBusinessArchiveFormatException
protected abstract String getFolderName()
public void saveToBarFolder(BusinessArchive businessArchive, File barFolder) throws IOException
BusinessArchiveContribution
saveToBarFolder
in interface BusinessArchiveContribution
IOException
public boolean isMandatory()
isMandatory
in interface BusinessArchiveContribution
Copyright © 2013 BonitaSoft. All Rights Reserved.