public interface IActionSequenceResource
Modifier and Type | Field and Description |
---|---|
static int |
FILE_RESOURCE
The resource is an arbitrary file
|
static int |
SOLUTION_FILE_RESOURCE
The Resource is a solution file
|
static int |
STRING
The resource type is an embedded string
|
static int |
UNKNOWN_RESOURCE
The resource type is unknown
|
static int |
URL_RESOURCE
The resource is a URL
|
static int |
XML
The resource type is embedded xml
|
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Depending on the resource source type, returns the address to the resource as a path or a URL.
|
InputStream |
getInputStream(RepositoryFilePermission actionOperation) |
InputStream |
getInputStream(RepositoryFilePermission actionOperation,
Locale locale) |
String |
getMimeType()
Returns the mime type of the resource.
|
String |
getName()
Return the xml node name of the resource
|
int |
getSourceType()
Get the type of external resource that this ActionResource is derived from.
|
static final int SOLUTION_FILE_RESOURCE
static final int URL_RESOURCE
static final int FILE_RESOURCE
static final int UNKNOWN_RESOURCE
static final int STRING
static final int XML
String getName()
String getMimeType()
int getSourceType()
Valid source types are SOLUTION_FILE_RESOURCE, URL_RESOURCE, FILE_RESOURCE and UNKNOWN_RESOURCE
String getAddress()
InputStream getInputStream(RepositoryFilePermission actionOperation, Locale locale)
InputStream getInputStream(RepositoryFilePermission actionOperation)
Copyright © 2020 Hitachi Vantara. All rights reserved.