Interface PearSpecifier

    • Method Detail

      • getPearPath

        java.lang.String getPearPath()
        Retrieves the PEAR path at which the pear Resource is located.
        Returns:
        a string
      • setPearPath

        void setPearPath​(java.lang.String aPearPath)
        Sets the PEAR path at which a Resource is located.
        Parameters:
        aPearPath - a pear path string
      • getParameters

        @Deprecated
        Parameter[] getParameters()
        Deprecated.
        These parameters only support string values. Better use getPearParameters().
        Gets legacy string-valued parameters that may be read by the pear resource class when it is initialized. These parameters are represented as follows in the PEAR specifier XML:
         
         <parameters>
           <parameter name="param1" value="val1"/>
         </parameters>  
         
         
        Returns:
        an array of parameters. This will never return null.
      • getPearParameters

        NameValuePair[] getPearParameters()
        Gets parameters that may be read by the pear resource class when it is initialized. These parameters are represented as follows in the PEAR specifier XML:
         
         <pearParameters>
           <nameValuePair>
            <name>param1</name>
            <value><string>val1</string></value>
           </nameValuePair>
         </pearParameters>
         
         
        Returns:
        an array of pearParameters. This will never return null.
      • setPearParameters

        void setPearParameters​(NameValuePair... pearParameters)
        Sets pearParameters that may be read by the pear resource class when it is initialized.
        Parameters:
        pearParameters - the pearParameters to set.
        See Also:
        getPearParameters()