Interface InternalResource

    • Method Detail

      • setResourceType

        InternalResource setResourceType​(org.kie.api.io.ResourceType resourceType)
        Specified by:
        setResourceType in interface org.kie.api.io.Resource
      • getResourceType

        org.kie.api.io.ResourceType getResourceType()
        Specified by:
        getResourceType in interface org.kie.api.io.Resource
      • getConfiguration

        org.kie.api.io.ResourceConfiguration getConfiguration()
        Specified by:
        getConfiguration in interface org.kie.api.io.Resource
      • setConfiguration

        InternalResource setConfiguration​(org.kie.api.io.ResourceConfiguration configuration)
        Specified by:
        setConfiguration in interface org.kie.api.io.Resource
      • hasURL

        boolean hasURL()
      • isDirectory

        boolean isDirectory()
      • listResources

        Collection<org.kie.api.io.Resource> listResources()
      • getDescription

        String getDescription()
        Returns the description of the resource. This is just a text description of the resource used to add more information about it. This is not a mandatory attribute
        Returns:
        the name of the resource, or null if is not set.
      • setDescription

        void setDescription​(String description)
      • setCategories

        void setCategories​(String categories)
      • addCategory

        void addCategory​(String category)
      • getBytes

        byte[] getBytes()
      • getEncoding

        String getEncoding()