public interface DominoRuntime
Modifier and Type | Method and Description |
---|---|
Optional<Path> |
getDataDirectory()
Retrieves the path of the data directory for the current Notes/Domino runtime.
|
Optional<Path> |
getProgramDirectory()
Retrieves the path of the program directory for the current Notes/Domino runtime.
|
int |
getPropertyInt(String propertyName)
Retrieves the value of a Notes configuration property as an integer.
|
String |
getPropertyString(String propertyName)
Retrieves the value of a Notes configuration property as a string.
|
Optional<Path> |
getTempDirectory()
Retrieves the path of the temporary-files directory used by the current Notes/Domino runtime.
|
Optional<Path> |
getViewRebuildDirectory()
Retrieves the path of the directory used by the current Notes/Domino runtime for temporary
storage during view rebuilding.
|
void |
invokeNSD(Collection<NSDMode> modes)
Tells the local runtime to run NSD.
|
void |
setProperty(String propertyName,
int value)
Sets a Notes configuration property to the specified integer.
|
void |
setProperty(String propertyName,
String value)
Sets a Notes configuration property to the specified string.
|
Optional<Path> getDataDirectory()
Optional<Path> getProgramDirectory()
Optional<Path> getTempDirectory()
Optional<Path> getViewRebuildDirectory()
void setProperty(String propertyName, String value)
These properties correspond to notes.ini settings.
propertyName
- the property to setvalue
- the value to setvoid setProperty(String propertyName, int value)
These properties correspond to notes.ini settings.
propertyName
- the property to setvalue
- the value to setString getPropertyString(String propertyName)
These properties correspond to notes.ini settings.
propertyName
- the name of the property to getint getPropertyInt(String propertyName)
0
.
These properties correspond to notes.ini settings.
propertyName
- the name of the property to getint
void invokeNSD(Collection<NSDMode> modes)
modes
- configuration options for the NSD executionCopyright © 2019–2021 HCL. All rights reserved.