Interface IParameterizable<V extends IMetaParameterDeclaration>

    • Method Detail

      • getParameterCount

        int getParameterCount()
        Get the number of parameters of this rule.
        Returns:
        The number of parameters of this rule.
      • getParameter

        V getParameter​(int index)
        Get the parameter of this rule at the specified index.
        Parameters:
        index - The 0-based index of the rule parameter to be returned.
        Returns:
        The rule parameter at the given index.
        Throws:
        java.lang.IndexOutOfBoundsException - if index < 0 || index >=getParameterCount()
      • getRequiredParameterCount

        int getRequiredParameterCount()
        Returns the number of required parameters, i.e., non-default and non-named parameters.
        Returns:
        the number of required parameters
      • getParameter

        V getParameter​(java.lang.String name)
        Returns a named parameter declaration.
        Parameters:
        name - the name of the parameter
        Returns:
        the declaration or null if there is none