ilog.rules.brl

Interface IlrBRLMarkerDescriptor

    • Method Detail

      • getId

        java.lang.String getId()
        Returns the unique identifier of the marker.
      • getKind

        int getKind()
        Returns the kind of marker. It can be lexical, syntactic or semantic.
        See Also:
        IlrBRLMarkerConstants
      • getSeverity

        int getSeverity()
        Returns the severity of the marker. It can be info, warning, error or semantic.
        See Also:
        IlrBRLMarkerConstants
      • getMessage

        java.lang.String getMessage(java.lang.Object[] args)
        Returns the formatted message that describes the marker.
        Parameters:
        args - The arguments that help to format the message.
      • isFixable

        boolean isFixable()
        Returns true if the marker can be fixed automatically.
        Returns:
        true if the marker can be fixed automatically.
      • computeFixProposals

        IlrBRLMarkerFixProposal[] computeFixProposals(IlrBRLMarker marker,
                                                    java.lang.Object[] args)
        Returns the possible proposals according to the marker, if the marker can be fixed.
        Throws:
        java.lang.UnsupportedOperationException - if the marker cannot be fixed.
        Parameters:
        marker - The marker that represents the problem to be fixed.
        args - The arguments to compute the proposals.
        Returns:
        The proposals according to the marker.
        See Also:
        isFixable()

© Copyright IBM Corp. 1987, 2017