Class Resource.Options

java.lang.Object
nz.org.riskscape.engine.resource.Resource.Options
Enclosing interface:
Resource

public static class Resource.Options extends Object
  • Field Details

    • allowInsecure

      public boolean allowInsecure
    • tempDirectory

      public Optional<Path> tempDirectory

      A directory to use for storing any temporary files that are created.

      Ideally this will be context specific. If not specified then the engine's temporary directory will be used.

  • Constructor Details

    • Options

      public Options()
  • Method Details

    • isAllowInsecure

      public boolean isAllowInsecure()
    • getTempDirectory

      public Optional<Path> getTempDirectory()

      A directory to use for storing any temporary files that are created.

      Ideally this will be context specific. If not specified then the engine's temporary directory will be used.

    • setAllowInsecure

      public void setAllowInsecure(boolean allowInsecure)
    • setTempDirectory

      public void setTempDirectory(Optional<Path> tempDirectory)

      A directory to use for storing any temporary files that are created.

      Ideally this will be context specific. If not specified then the engine's temporary directory will be used.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object