|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.teamserver.model.IlrArchiveOutput
public class IlrArchiveOutput
Result object returned when generating a ruleset or RuleApp archive.
IlrDeploymentFacility.generateRulesetArchive(IlrSearchCriteria,String,String)
,
IlrDeploymentFacility.generateRuleAppArchive(IlrElementHandle, String, int)
,
Serialized Form
Field Summary | |
---|---|
static String |
DEPLOYMENT_NAME_ATTRIBUTE
Name of the attribute containing the name of the deployment. |
static String |
DEPLOYMENT_REPORT_ATTRIBUTE
Name of the attribute containing the deployment report on the Rule Execution Server (if performed). |
Constructor Summary | |
---|---|
IlrArchiveOutput(byte[] bytes,
List checkingErrors)
Constructs a new archive output. |
Method Summary | |
---|---|
Object |
getAttribute(String name)
Returns the value of the named attribute as an Object , or null if no attribute of the given name exists. |
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. |
List<IlrElementError> |
getCheckingErrors()
Gets the list of errors generated when checking the archive. |
void |
removeAttribute(String name)
Removes an attribute from this archive. |
void |
setAttribute(String name,
Object value)
Stores an attribute in this archive. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEPLOYMENT_REPORT_ATTRIBUTE
public static final String DEPLOYMENT_NAME_ATTRIBUTE
Constructor Detail |
---|
public IlrArchiveOutput(byte[] bytes, 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.Method Detail |
---|
public byte[] getBytes()
IlrRulesetArchive
public List<IlrElementError> getCheckingErrors()
IlrElementError
objects.IlrElementError
public Object getAttribute(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(String name, Object value)
name
- A String
specifying the name of the attribute.value
- The Object
to be stored.public void removeAttribute(String name)
name
- A String
specifying the name of the attribute to remove.public Set getAttributeNames()
Set
containing the names of the attributes available to this archive.
Set
of strings containing the names of the archive's attributes.
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |