Package fish.payara.micro.boot
Interface AdminCommandRunner
-
public interface AdminCommandRunner
Payara Micro interface for running admin commands. Runner allows to use arbitrary commands as if they were run viaasadmin
utility.While similar to
CommandRunner
from 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 ClusterCommandResult
run(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 ofasadmin
utility, chiefly escaping colons (:) and equal signs (=) in property lists.- Returns:
-
-