Class AbstractModelIO

    • Field Detail

      • description

        protected java.lang.String description
      • documentationURL

        protected java.lang.String documentationURL
    • Constructor Detail

      • AbstractModelIO

        public AbstractModelIO()
    • Method Detail

      • takeWorkingDirectoryFrom

        public static void takeWorkingDirectoryFrom​(java.util.function.Supplier<java.lang.String> supplier)
        Specify the supplier of the working directory injection. It must have the necessary information to construct a valid working directory path at ExecutionGraph compileCanonicalForm time.
        Parameters:
        supplier - the supplier
      • injectWorkingDirectory

        public static java.lang.String injectWorkingDirectory​(java.lang.String pathString)
        Use this always when writing to or reading from Files whose paths are specified by parameters.
        Parameters:
        pathString - Path to inject working directory into
        Returns:
        injected path
      • getType

        public Resource getType()
        Description copied from interface: Plugin
        Get the type URI resource of the ParametrizedPlugin. The type of a ParametrizedPlugin identifies the implementing class, must be unique and must not be a blank node. It is used to instantiate the class using the PluginFactory. Defaults to using the implementing classes Class.getSimpleName().
        Specified by:
        getType in interface Plugin
        Returns:
        RDF URI resource identifying the implementation class