public class IlrArchiveOutput
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEPLOYMENT_NAME_ATTRIBUTE
Name of the attribute containing the name of the deployment.
|
static java.lang.String |
DEPLOYMENT_REPORT_ATTRIBUTE
Name of the attribute containing the deployment report on the Rule Execution Server (if performed).
|
| Constructor and Description |
|---|
IlrArchiveOutput(byte[] bytes,
java.util.List checkingErrors)
Constructs a new archive output.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns the value of the named attribute as an
Object, or null if no attribute of the given name exists. |
java.util.Set |
getAttributeNames()
Returns a
Set containing the names of the attributes available to this archive. |
byte[] |
getBytes()
Gets the byte array representing the ruleset or RuleApp archive.
|
java.util.List<IlrElementError> |
getCheckingErrors()
Gets the list of errors generated when checking the archive.
|
void |
removeAttribute(java.lang.String name)
Removes an attribute from this archive.
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Stores an attribute in this archive.
|
public static final java.lang.String DEPLOYMENT_REPORT_ATTRIBUTE
public static final java.lang.String DEPLOYMENT_NAME_ATTRIBUTE
public IlrArchiveOutput(byte[] bytes,
java.util.List checkingErrors)
bytes - The archive (RuleApp or ruleset archive), as a byte array.checkingErrors - List of IlrElementError containing the checking errors reported during the ruleset generation.public byte[] getBytes()
IlrRulesetArchivepublic java.util.List<IlrElementError> getCheckingErrors()
IlrElementError objects.IlrElementErrorpublic java.lang.Object getAttribute(java.lang.String name)
Object, or null if no attribute of the given name exists.name - A String specifying the name of the attribute.Object containing the value of the attribute, or null if the attribute does not exist.public void setAttribute(java.lang.String name,
java.lang.Object value)
name - A String specifying the name of the attribute.value - The Object to be stored.public void removeAttribute(java.lang.String name)
name - A String specifying the name of the attribute to remove.public java.util.Set getAttributeNames()
Set containing the names of the attributes available to this archive.Set of strings containing the names of the archive's attributes.© Copyright IBM Corp. 1987, 2017