- Type Parameters:
T- The type of the tool
- All Known Subinterfaces:
WithModuleOptionsCall<T>,WithModuleSourceOptionsCall<T>
public interface Call<T>
A tool call with a list of argument objects.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCall.ArgumentAn argument is a named tool option consisting of an option key and zero or more values.static classCall.ToolA named tool call. -
Method Summary
Modifier and Type Method Description List<Call.Argument>arguments()default Optional<Call.Argument>findArgument(String option)default Optional<ToolProvider>findProvider()default Optional<String>findValue(String option)static Jarjar()static Javacjavac()static Javadocjavadoc()static Jlinkjlink()Stringname()default intrun()default StringtoCommandLine()default StringtoDescriptiveLine()static Call.Tooltool(String name)default String[]toStringArray()default List<String>toStrings()default Twith(boolean condition, String option, Object... values)default Twith(Call.Argument... arguments)default Twith(Iterable<?> elements)default <E> Twith(Iterable<E> elements, BiFunction<T,E,T> function)default Twith(String option)default Twith(String option, Object... values)Twith(List<Call.Argument> arguments)default <E> Twith(Optional<E> optional, BiFunction<T,E,T> function)default <E> Twith(Optional<E> optional, Function<E,T> function)default Twithout(String option)
-
Method Details
-
tool
-
javac
-
javadoc
-
jar
-
jlink
-
name
String name() -
arguments
List<Call.Argument> arguments() -
with
-
with
-
with
-
with
-
with
-
with
-
with
-
with
-
with
-
without
-
toCommandLine
-
toDescriptiveLine
-
toStrings
-
toStringArray
-
findProvider
-
findArgument
-
findValue
-
run
default int run()
-