public class ValueArgument extends Object implements EncodingArgument
| Constructor and Description |
|---|
ValueArgument(ArgType argType,
String argumentName,
Function<EncodingAttributes,Optional<String>> valueGetter) |
| Modifier and Type | Method and Description |
|---|---|
ArgType |
getArgType() |
Stream<String> |
getArguments(EncodingAttributes context)
Gets the Stream of arguments given the EncodingAttributes as context.
|
protected Boolean |
isPresent(EncodingAttributes context) |
protected Boolean isPresent(EncodingAttributes context)
public Stream<String> getArguments(EncodingAttributes context)
EncodingArgumentgetArguments in interface EncodingArgumentcontext - The EncodingAttributes specified by the user. Use this in your closure to
generate the arguments you'd like to pass to ffmpeg.public ArgType getArgType()
getArgType in interface EncodingArgumentCopyright © 2020. All rights reserved.