ilog.rules.brl

Class IlrBRLMarkerFixProcessor

  • java.lang.Object
    • ilog.rules.brl.IlrBRLMarkerFixProcessor


  • public abstract class IlrBRLMarkerFixProcessor
    extends java.lang.Object
    The interface represents the way to compute all the proposals in order to fix a problem represented by a marker.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      abstract IlrBRLMarkerFixProposal[] computeFixProposals(IlrBRLMarker marker, java.lang.Object[] args)
      Returns the possible proposals.
      protected java.lang.String getMessage(IlrBRLMarker marker, java.lang.String key, java.lang.Object[] args)
      Returns a formatted message according to a marker and a key.
      • Methods inherited from class java.lang.Object

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

      • definition

        protected final IlrBRLDefinition definition
        The language definition
    • Constructor Detail

      • IlrBRLMarkerFixProcessor

        protected IlrBRLMarkerFixProcessor(IlrBRLDefinition definition)
        Constructs a new fix processor.
        Parameters:
        definition - The language definition associated with the fix processor.
    • Method Detail

      • getMessage

        protected java.lang.String getMessage(IlrBRLMarker marker,
                                  java.lang.String key,
                                  java.lang.Object[] args)
        Returns a formatted message according to a marker and a key.
        Parameters:
        marker - The marker associated with the message.
        key - The message key.
        args - The arguments used to format the message.
        Returns:
        The formatted message.
      • computeFixProposals

        public abstract IlrBRLMarkerFixProposal[] computeFixProposals(IlrBRLMarker marker,
                                                    java.lang.Object[] args)
        Returns the possible proposals.
        Parameters:
        marker - The marker that represents the problem to be fixed.
        args - The arguments used to compute the proposals.
        Returns:
        The proposals according to the marker.

© Copyright IBM Corp. 1987, 2017