Interface IFunctionArguments
-
- All Known Subinterfaces:
IFunctionWithArguments
- All Known Implementing Classes:
AsposeRootArgs
public interface IFunctionArguments
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Map<String,String>
getNamedArgs()
default String
getPositionalArg(int index)
List<String>
getPositionalArgs()
default boolean
hasPositionalArg(int index)
-
-
-
Method Detail
-
getPositionalArgs
List<String> getPositionalArgs()
- Returns:
- A list with the positional arguments of the function, e.g.
field.test(value1|value2)
-
getPositionalArg
default String getPositionalArg(int index)
- Parameters:
index
- 0-based index of the argument.- Returns:
- The positional argument at the given index.
-
hasPositionalArg
default boolean hasPositionalArg(int index)
- Parameters:
index
- 0-based index of the argument.- Returns:
- Whether a positional argument at the given index exists, i.e. whether at least (index+1) arguments were provided.
-
-