FileSource
Describe the source of a file asset.
Initializer
import com.aliyun.ros.cdk.assembly.schema.FileSource;
FileSource.builder()
// .executable(java.util.List<java.lang.String>)
// .packaging(FileAssetPackaging)
// .path(java.lang.String)
.build();
Properties
| Name | Type | Description |
|---|---|---|
executable |
java.util.List |
External command which will produce the file asset to upload. |
packaging |
FileAssetPackaging |
Packaging method. |
path |
java.lang.String |
The filesystem object to upload. |
executableOptional
public java.util.List<java.lang.String> getExecutable();
- Type: java.util.List
- Default: Exactly one of
executableandpathis required.
External command which will produce the file asset to upload.
packagingOptional
public FileAssetPackaging getPackaging();
- Type: FileAssetPackaging
- Default: FILE
Packaging method.
Only allowed when path is specified.
pathOptional
public java.lang.String getPath();
- Type: java.lang.String
- Default: Exactly one of
executableandpathis required.
The filesystem object to upload.
This path is relative to the asset manifest location.