Rule Execution Server API

ilog.rules.res.model
Class IlrRESRulesetArchiveFactory

java.lang.Object
  extended by ilog.rules.res.model.IlrRESRulesetArchiveFactory

public final class IlrRESRulesetArchiveFactory
extends Object

Use this factory class to create IlrRESRulesetArchive instances.

Since:
8.5.1

Constructor Summary
IlrRESRulesetArchiveFactory()
           
 
Method Summary
static IlrRESRulesetArchive createRESRulesetArchive(IlrEngineType type, byte[] archive)
          Creates an IlrRESRulesetArchive instance.
static IlrRESRulesetArchive createRESRulesetArchive(IlrEngineType type, InputStream input)
          Creates an IlrRESRulesetArchive instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrRESRulesetArchiveFactory

public IlrRESRulesetArchiveFactory()
Method Detail

createRESRulesetArchive

public static final IlrRESRulesetArchive createRESRulesetArchive(IlrEngineType type,
                                                                 InputStream input)
                                                          throws IlrRESRulesetArchiveCreationException
Creates an IlrRESRulesetArchive instance.

Throws:
IlrRESRulesetArchiveCreationException - Thrown if an error occurs when an instance of IlrRESRulesetArchive is created.
Parameters:
type - The type of engine.
input - The stream to the ruleset archive. This parameter must not be null.
Returns:
The IlrRESRulesetArchive instance.

createRESRulesetArchive

public static final IlrRESRulesetArchive createRESRulesetArchive(IlrEngineType type,
                                                                 byte[] archive)
                                                          throws IlrRESRulesetArchiveCreationException
Creates an IlrRESRulesetArchive instance.

Throws:
IlrRESRulesetArchiveCreationException - Thrown if an error occurs when an instance of IlrRESRulesetArchive is created.
Parameters:
type - The type of engine.
archive - The bytes of the ruleset archive. This parameter must not be null or empty.
Returns:
The IlrRESRulesetArchive instance.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013