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. |
executable
Optional
public java.util.List<java.lang.String> getExecutable();
- Type: java.util.List
- Default: Exactly one of
executable
andpath
is required.
External command which will produce the file asset to upload.
packaging
Optional
public FileAssetPackaging getPackaging();
- Type: FileAssetPackaging
- Default: FILE
Packaging method.
Only allowed when path
is specified.
path
Optional
public java.lang.String getPath();
- Type: java.lang.String
- Default: Exactly one of
executable
andpath
is required.
The filesystem object to upload.
This path is relative to the asset manifest location.