Package nz.org.riskscape.engine.resource
Class Resource.Options
java.lang.Object
nz.org.riskscape.engine.resource.Resource.Options
- Enclosing interface:
- Resource
-
Field Summary
Modifier and TypeFieldDescriptionboolean
A directory to use for storing any temporary files that are created. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A directory to use for storing any temporary files that are created.int
hashCode()
boolean
void
setAllowInsecure
(boolean allowInsecure) void
setTempDirectory
(Optional<Path> tempDirectory) A directory to use for storing any temporary files that are created.toString()
-
Field Details
-
allowInsecure
public boolean allowInsecure -
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
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
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-