public final class FileReference extends GenericReference
Modifier and Type | Class and Description |
---|---|
static class |
FileReference.FileReferenceType
Enumeration of file reference types based on the schema and authority in the URI
|
Constructor and Description |
---|
FileReference() |
FileReference(java.lang.String uri)
Construct a reference to a file.
|
Modifier and Type | Method and Description |
---|---|
void |
checkValid()
Test whether an algorithm reference is syntactically valid.
|
java.lang.String |
getValue()
Getter
|
checkOptionalReference, checkRequiredReference, setValue
public FileReference()
public FileReference(@Nonnull java.lang.String uri)
uri
- The URI of the file referenced. The valid URI formats are, URI Format | Description |
---|---|
http[s]://<host>[:<port>]/<path> | To open files located on an web server. |
jar://file/<filepath> | To open a file located in the algorithm jar |
delphix-file://upload/<file reference id> | To open a file uploaded using masking engine's fileUpload endpoint |
delphix-file://mount/<mountType>/<mountId>/<file path> | To open a file located on a NFS/CIFS mount server that has been mounted inside the
masking engine using mountFilesystem endpoint. |
file://<filepath> | To open a local file |
@JsonPropertyDescription(value="The URI of the referenced file") public java.lang.String getValue()
GenericReference
getValue
in class GenericReference
public void checkValid() throws ComponentConfigurationException
checkValid
in class GenericReference
ComponentConfigurationException
- When the reference is invalid