Interface CustomResourceSpecifier

    • Method Detail

      • getResourceClassName

        String getResourceClassName()
        Retrieves the name of the Java class that will be instantiated when one of the UIMAFramework.produceXXX(ResourceSpecifier,...) methods is called with this resource specifier.
        Returns:
        a fully-qualified Java class name. The named class should implement Resource.
      • setResourceClassName

        void setResourceClassName​(String aResourceClassName)
        Setss the name of the Java class that will be instantiated when one of the UIMAFramework.produceXXX(ResourceSpecifier,...) methods is called with this resource specifier.
        Parameters:
        aResourceClassName - a fully-qualified Java class name. The named class should implement Resource.
      • getParameters

        Parameter[] getParameters()
        Gets parameters that may be read by the custom resource class when it is initialized.
        Returns:
        an array of parameters. This will never return null.
      • setParameters

        void setParameters​(Parameter[] parameters)
        Sets parameters that may be read by the custom resource class when it is initialized.
        Parameters:
        parameters - the Parameters to set.