ilog.rules.res.model
Class IlrRESRulesetArchiveFactory
- java.lang.Object
-
- ilog.rules.res.model.IlrRESRulesetArchiveFactory
-
public final class IlrRESRulesetArchiveFactory extends java.lang.Object
Use this factory class to createIlrRESRulesetArchive
instances.- Since:
- 8.5.1
-
-
Constructor Summary
Constructors Constructor and Description IlrRESRulesetArchiveFactory()
-
Method Summary
Methods Modifier and Type Method and Description static IlrRESRulesetArchive
createRESRulesetArchive(IlrEngineType type, byte[] archive)
Creates anIlrRESRulesetArchive
instance.static IlrRESRulesetArchive
createRESRulesetArchive(IlrEngineType type, java.io.InputStream input)
Creates anIlrRESRulesetArchive
instance.
-
-
-
Method Detail
-
createRESRulesetArchive
public static final IlrRESRulesetArchive createRESRulesetArchive(IlrEngineType type, java.io.InputStream input) throws IlrRESRulesetArchiveCreationException
Creates anIlrRESRulesetArchive
instance.- Throws:
IlrRESRulesetArchiveCreationException
- Thrown if an error occurs when an instance ofIlrRESRulesetArchive
is created.- Parameters:
type
- The type of engine.input
- The stream to the ruleset archive. This parameter must not benull
.- Returns:
- The
IlrRESRulesetArchive
instance.
-
createRESRulesetArchive
public static final IlrRESRulesetArchive createRESRulesetArchive(IlrEngineType type, byte[] archive) throws IlrRESRulesetArchiveCreationException
Creates anIlrRESRulesetArchive
instance.- Throws:
IlrRESRulesetArchiveCreationException
- Thrown if an error occurs when an instance ofIlrRESRulesetArchive
is created.- Parameters:
type
- The type of engine.archive
- The bytes of the ruleset archive. This parameter must not benull
or empty.- Returns:
- The
IlrRESRulesetArchive
instance.
-
-