Class AbstractPathParameter<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

    • Constructor Detail

      • AbstractPathParameter

        protected AbstractPathParameter​(@NotNull
                                        @NotNull java.io.File baseDir)
        Creates a new instance.
        Parameters:
        baseDir - the base directory
    • Method Detail

      • getBaseDir

        @NotNull
        public @NotNull java.io.File getBaseDir()
        Returns the base directory.
        Returns:
        the base directory
      • setFile

        public void setFile​(@NotNull
                            @NotNull java.io.File file)
        Sets the current File.
        Parameters:
        file - the file
      • getValueOrNull

        @Nullable
        public @Nullable java.io.File getValueOrNull()
        Description copied from interface: PluginParameter
        Returns the current value of this parameter.
        Returns:
        the value or null if the the value is invalid