Package fish.payara.micro.boot
Interface AdminCommandRunner
-
public interface AdminCommandRunnerPayara Micro interface for running admin commands. Runner allows to use arbitrary commands as if they were run viaasadminutility.While similar to
CommandRunnerfrom API of embedded server, these two runners are kept separate due to backward compatibility reasons.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusterCommandResultrun(String command, String... args)Run an admin command.
-
-
-
Method Detail
-
run
ClusterCommandResult run(String command, String... args)
Run an admin command.- Parameters:
command- the name of the commandargs- optional arguments to the command. The arguments need to respect escaping rules ofasadminutility, chiefly escaping colons (:) and equal signs (=) in property lists.- Returns:
-
-