public class CustomIORNameProvider extends java.lang.Object implements IORNameProvider
Note:
The check for uniqueness is triggered one's in the constructor-call.
After instantiation the final IOR name is fixed!
| Constructor and Description |
|---|
CustomIORNameProvider(java.lang.String suffix,
boolean unique) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.file.Path |
getPath()
Returns the absolute path to the IOR.
|
java.util.Optional<java.lang.String> |
getSuffix()
Returns the suffix of the IOR.
|
public CustomIORNameProvider(java.lang.String suffix,
boolean unique)
public java.nio.file.Path getPath()
IORNameProvidergetPath in interface IORNameProviderpublic java.util.Optional<java.lang.String> getSuffix()
IORNameProvider
This suffix is the file-extension used in the --sessionName parameter of omc.
getSuffix in interface IORNameProvider