ilog.rules.teamserver.model

Class IlrArchiveOutput

  • java.lang.Object
    • ilog.rules.teamserver.model.IlrArchiveOutput
    • Field Summary

      Fields 
      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 Summary

      Constructors 
      Constructor and Description
      IlrArchiveOutput(byte[] bytes, java.util.List checkingErrors)
      Constructs a new archive output.
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEPLOYMENT_REPORT_ATTRIBUTE

        public static final java.lang.String DEPLOYMENT_REPORT_ATTRIBUTE
        Name of the attribute containing the deployment report on the Rule Execution Server (if performed).
        See Also:
        Constant Field Values
      • DEPLOYMENT_NAME_ATTRIBUTE

        public static final java.lang.String DEPLOYMENT_NAME_ATTRIBUTE
        Name of the attribute containing the name of the deployment.
        See Also:
        Constant Field Values
    • Constructor Detail

      • IlrArchiveOutput

        public IlrArchiveOutput(byte[] bytes,
                        java.util.List checkingErrors)
        Constructs a new archive output.
        Parameters:
        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

      • getBytes

        public byte[] getBytes()
        Gets the byte array representing the ruleset or RuleApp archive.
        Returns:
        The archive as a byte array.
        See Also:
        IlrRulesetArchive
      • getCheckingErrors

        public java.util.List<IlrElementError> getCheckingErrors()
        Gets the list of errors generated when checking the archive.
        Returns:
        List of IlrElementError objects.
        See Also:
        IlrElementError
      • getAttribute

        public 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.
        Parameters:
        name - A String specifying the name of the attribute.
        Returns:
        An Object containing the value of the attribute, or null if the attribute does not exist.
      • setAttribute

        public void setAttribute(java.lang.String name,
                        java.lang.Object value)
        Stores an attribute in this archive.
        Parameters:
        name - A String specifying the name of the attribute.
        value - The Object to be stored.
      • removeAttribute

        public void removeAttribute(java.lang.String name)
        Removes an attribute from this archive.
        Parameters:
        name - A String specifying the name of the attribute to remove.
      • getAttributeNames

        public java.util.Set getAttributeNames()
        Returns a Set containing the names of the attributes available to this archive.
        Returns:
        A Set of strings containing the names of the archive's attributes.

© Copyright IBM Corp. 1987, 2019