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)
EncodingArgument
getArguments
in interface EncodingArgument
context
- 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 EncodingArgument
Copyright © 2021. All rights reserved.