Class ListClustersCommand

  • All Implemented Interfaces:
    AdminCommand

    @Service(name="list-clusters")
    @PerLookup
    @CommandLock(NONE)
    public final class ListClustersCommand
    extends Object
    implements AdminCommand
    This is a remote command that lists the clusters. Usage: list-clusters
    Author:
    Bhakti Mehta, Byron Nevins
    • Constructor Detail

      • ListClustersCommand

        public ListClustersCommand()
    • Method Detail

      • execute

        public void execute​(AdminCommandContext context)
        Description copied from interface: AdminCommand
        Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values
        Specified by:
        execute in interface AdminCommand
        Parameters:
        context - information