@Component
public class RuntimeCommands
extends java.lang.Object
implements org.springframework.shell.core.CommandMarker
Constructor and Description |
---|
RuntimeCommands() |
Modifier and Type | Method and Description |
---|---|
boolean |
available() |
Table |
listContainers() |
Table |
listDeployedModules(java.lang.String containerId,
java.lang.String moduleId) |
@CliAvailabilityIndicator(value={"runtime containers","runtime modules"}) public boolean available()
@CliCommand(value="runtime containers", help="List runtime containers") public Table listContainers()
@CliCommand(value="runtime modules", help="List runtime modules") public Table listDeployedModules(@CliOption(mandatory=false,key="containerId",help="to filter by container id") java.lang.String containerId, @CliOption(mandatory=false,key="moduleId",help="to filter by module id") java.lang.String moduleId)