|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.rules.bres.model.archive.IlrArchiveManager
public class IlrArchiveManager
Allows to export a IlrRuleAppInformation or a Set of IlrRuleAppInformation to a ruleApp archive,
and to load IlrRuleAppInformation contain in a ruleApp archive.
| Constructor Summary | |
|---|---|
IlrArchiveManager()
|
|
| Method Summary | |
|---|---|
Set |
read(IlrRepositoryFactory repositoryFactory,
JarInputStream jarInputStream)
Create ruleApps and rulesets contain in a ruleApp archive. |
void |
write(OutputStream outputStream,
IlrRuleAppInformation ruleApp)
Backup an IlrRuleAppInformation to a ruleApp archive. |
void |
write(OutputStream outputStream,
Set ruleApps)
Backup a Set of IlrRuleAppInformation to a ruleApp archive. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlrArchiveManager()
| Method Detail |
|---|
public void write(OutputStream outputStream,
Set ruleApps)
throws IOException,
IlrArchiveException
IlrRuleAppInformation to a ruleApp archive.
IlrArchiveException - If an error occured during the backup.
IOException - If an I/O exception has occurredoutputStream - The outputStream where the ruleApp archive will be stored. Cannot be null.ruleApps - a Set of IlrRuleAppInformation. Cannot be null or empty.
public void write(OutputStream outputStream,
IlrRuleAppInformation ruleApp)
throws IOException,
IlrArchiveException
IlrRuleAppInformation to a ruleApp archive.
IlrArchiveException - If an error occured during the backup.
IOException - If an I/O exception has occurredoutputStream - The outputStream where the ruleApp archive will be stored. Cannot be null.ruleApp - The ruleApp to backup. Cannot be null.
public Set read(IlrRepositoryFactory repositoryFactory,
JarInputStream jarInputStream)
throws IOException,
IlrArchiveException
IlrArchiveException - If an error occured during the load.
IOException - If an I/O exception has occurredrepositoryFactory - The repository factory used to create ruleApp and rulesets. Cannot be null.jarInputStream - The ruleApp archive. Cannot be null.
IlrMutableRuleAppInformation. Cannot be null.
|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||