public CmdNamespaces()

in pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdNamespaces.java [2668:2864]


    public CmdNamespaces(Supplier<PulsarAdmin> admin) {
        super("namespaces", admin);
        addCommand("list", new GetNamespacesPerProperty());
        addCommand("list-cluster", new GetNamespacesPerCluster());

        addCommand("topics", new GetTopics());
        addCommand("bundles", new GetBundles());
        addCommand("destinations", new GetDestinations());
        addCommand("policies", new GetPolicies());
        addCommand("create", new Create());
        addCommand("delete", new Delete());

        addCommand("permissions", new Permissions());
        addCommand("grant-permission", new GrantPermissions());
        addCommand("revoke-permission", new RevokePermissions());

        addCommand("subscription-permission", new SubscriptionPermissions());
        addCommand("grant-subscription-permission", new GrantSubscriptionPermissions());
        addCommand("revoke-subscription-permission", new RevokeSubscriptionPermissions());

        addCommand("set-clusters", new SetReplicationClusters());
        addCommand("get-clusters", new GetReplicationClusters());

        addCommand("set-subscription-types-enabled", new SetSubscriptionTypesEnabled());
        addCommand("get-subscription-types-enabled", new GetSubscriptionTypesEnabled());
        addCommand("remove-subscription-types-enabled", new RemoveSubscriptionTypesEnabled());

        addCommand("set-allowed-clusters", new SetAllowedClusters());
        addCommand("get-allowed-clusters", new GetAllowedClusters());

        addCommand("get-backlog-quotas", new GetBacklogQuotaMap());
        addCommand("set-backlog-quota", new SetBacklogQuota());
        addCommand("remove-backlog-quota", new RemoveBacklogQuota());

        addCommand("get-persistence", new GetPersistence());
        addCommand("set-persistence", new SetPersistence());
        addCommand("remove-persistence", new RemovePersistence());

        addCommand("get-message-ttl", new GetMessageTTL());
        addCommand("set-message-ttl", new SetMessageTTL());
        addCommand("remove-message-ttl", new RemoveMessageTTL());

        addCommand("get-max-subscriptions-per-topic", new GetMaxSubscriptionsPerTopic());
        addCommand("set-max-subscriptions-per-topic", new SetMaxSubscriptionsPerTopic());
        addCommand("remove-max-subscriptions-per-topic", new RemoveMaxSubscriptionsPerTopic());

        addCommand("get-subscription-expiration-time", new GetSubscriptionExpirationTime());
        addCommand("set-subscription-expiration-time", new SetSubscriptionExpirationTime());
        addCommand("remove-subscription-expiration-time", new RemoveSubscriptionExpirationTime());

        addCommand("get-anti-affinity-group", new GetAntiAffinityGroup());
        addCommand("set-anti-affinity-group", new SetAntiAffinityGroup());
        addCommand("get-anti-affinity-namespaces", new GetAntiAffinityNamespaces());
        addCommand("delete-anti-affinity-group", new DeleteAntiAffinityGroup());

        addCommand("set-deduplication", new SetDeduplication());
        addCommand("get-deduplication", new GetDeduplication());
        addCommand("remove-deduplication", new RemoveDeduplication());

        addCommand("set-auto-topic-creation", new SetAutoTopicCreation());
        addCommand("get-auto-topic-creation", new GetAutoTopicCreation());
        addCommand("remove-auto-topic-creation", new RemoveAutoTopicCreation());

        addCommand("set-auto-subscription-creation", new SetAutoSubscriptionCreation());
        addCommand("get-auto-subscription-creation", new GetAutoSubscriptionCreation());
        addCommand("remove-auto-subscription-creation", new RemoveAutoSubscriptionCreation());

        addCommand("get-retention", new GetRetention());
        addCommand("set-retention", new SetRetention());
        addCommand("remove-retention", new RemoveRetention());

        addCommand("set-bookie-affinity-group", new SetBookieAffinityGroup());
        addCommand("get-bookie-affinity-group", new GetBookieAffinityGroup());
        addCommand("delete-bookie-affinity-group", new DeleteBookieAffinityGroup());

        addCommand("unload", new Unload());

        addCommand("split-bundle", new SplitBundle());
        addCommand("get-topic-positions", new GetTopicHashPositions());

        addCommand("set-dispatch-rate", new SetDispatchRate());
        addCommand("remove-dispatch-rate", new RemoveDispatchRate());
        addCommand("get-dispatch-rate", new GetDispatchRate());

        addCommand("set-subscribe-rate", new SetSubscribeRate());
        addCommand("get-subscribe-rate", new GetSubscribeRate());
        addCommand("remove-subscribe-rate", new RemoveSubscribeRate());

        addCommand("set-subscription-dispatch-rate", new SetSubscriptionDispatchRate());
        addCommand("get-subscription-dispatch-rate", new GetSubscriptionDispatchRate());
        addCommand("remove-subscription-dispatch-rate", new RemoveSubscriptionDispatchRate());

        addCommand("set-publish-rate", new SetPublishRate());
        addCommand("get-publish-rate", new GetPublishRate());
        addCommand("remove-publish-rate", new RemovePublishRate());

        addCommand("set-replicator-dispatch-rate", new SetReplicatorDispatchRate());
        addCommand("get-replicator-dispatch-rate", new GetReplicatorDispatchRate());
        addCommand("remove-replicator-dispatch-rate", new RemoveReplicatorDispatchRate());

        addCommand("clear-backlog", new ClearBacklog());

        addCommand("unsubscribe", new Unsubscribe());

        addCommand("set-encryption-required", new SetEncryptionRequired());
        addCommand("get-encryption-required", new GetEncryptionRequired());
        addCommand("set-subscription-auth-mode", new SetSubscriptionAuthMode());
        addCommand("get-subscription-auth-mode", new GetSubscriptionAuthMode());

        addCommand("set-delayed-delivery", new SetDelayedDelivery());
        addCommand("get-delayed-delivery", new GetDelayedDelivery());
        addCommand("remove-delayed-delivery", new RemoveDelayedDelivery());

        addCommand("get-inactive-topic-policies", new GetInactiveTopicPolicies());
        addCommand("set-inactive-topic-policies", new SetInactiveTopicPolicies());
        addCommand("remove-inactive-topic-policies", new RemoveInactiveTopicPolicies());

        addCommand("get-max-producers-per-topic", new GetMaxProducersPerTopic());
        addCommand("set-max-producers-per-topic", new SetMaxProducersPerTopic());
        addCommand("remove-max-producers-per-topic", new RemoveMaxProducersPerTopic());

        addCommand("get-max-consumers-per-topic", new GetMaxConsumersPerTopic());
        addCommand("set-max-consumers-per-topic", new SetMaxConsumersPerTopic());
        addCommand("remove-max-consumers-per-topic", new RemoveMaxConsumersPerTopic());

        addCommand("get-max-consumers-per-subscription", new GetMaxConsumersPerSubscription());
        addCommand("set-max-consumers-per-subscription", new SetMaxConsumersPerSubscription());
        addCommand("remove-max-consumers-per-subscription", new RemoveMaxConsumersPerSubscription());

        addCommand("get-max-unacked-messages-per-subscription", new GetMaxUnackedMessagesPerSubscription());
        addCommand("set-max-unacked-messages-per-subscription", new SetMaxUnackedMessagesPerSubscription());
        addCommand("remove-max-unacked-messages-per-subscription",
                new RemoveMaxUnackedMessagesPerSubscription());

        addCommand("get-max-unacked-messages-per-consumer", new GetMaxUnackedMessagesPerConsumer());
        addCommand("set-max-unacked-messages-per-consumer", new SetMaxUnackedMessagesPerConsumer());
        addCommand("remove-max-unacked-messages-per-consumer", new RemoveMaxUnackedMessagesPerConsumer());

        addCommand("get-compaction-threshold", new GetCompactionThreshold());
        addCommand("set-compaction-threshold", new SetCompactionThreshold());
        addCommand("remove-compaction-threshold", new RemoveCompactionThreshold());

        addCommand("get-offload-threshold", new GetOffloadThreshold());
        addCommand("set-offload-threshold", new SetOffloadThreshold());

        addCommand("get-offload-deletion-lag", new GetOffloadDeletionLag());
        addCommand("set-offload-deletion-lag", new SetOffloadDeletionLag());
        addCommand("clear-offload-deletion-lag", new ClearOffloadDeletionLag());

        addCommand("get-schema-autoupdate-strategy", new GetSchemaAutoUpdateStrategy());
        addCommand("set-schema-autoupdate-strategy", new SetSchemaAutoUpdateStrategy());

        addCommand("get-schema-compatibility-strategy", new GetSchemaCompatibilityStrategy());
        addCommand("set-schema-compatibility-strategy", new SetSchemaCompatibilityStrategy());

        addCommand("get-is-allow-auto-update-schema", new GetIsAllowAutoUpdateSchema());
        addCommand("set-is-allow-auto-update-schema", new SetIsAllowAutoUpdateSchema());

        addCommand("get-schema-validation-enforce", new GetSchemaValidationEnforced());
        addCommand("set-schema-validation-enforce", new SetSchemaValidationEnforced());

        addCommand("set-offload-policies", new SetOffloadPolicies());
        addCommand("remove-offload-policies", new RemoveOffloadPolicies());
        addCommand("get-offload-policies", new GetOffloadPolicies());

        addCommand("set-deduplication-snapshot-interval", new SetDeduplicationSnapshotInterval());
        addCommand("get-deduplication-snapshot-interval", new GetDeduplicationSnapshotInterval());
        addCommand("remove-deduplication-snapshot-interval", new RemoveDeduplicationSnapshotInterval());

        addCommand("set-max-topics-per-namespace", new SetMaxTopicsPerNamespace());
        addCommand("get-max-topics-per-namespace", new GetMaxTopicsPerNamespace());
        addCommand("remove-max-topics-per-namespace", new RemoveMaxTopicsPerNamespace());

        addCommand("set-property", new SetPropertyForNamespace());
        addCommand("get-property", new GetPropertyForNamespace());
        addCommand("remove-property", new RemovePropertyForNamespace());
        addCommand("set-properties", new SetPropertiesForNamespace());
        addCommand("get-properties", new GetPropertiesForNamespace());
        addCommand("clear-properties", new ClearPropertiesForNamespace());

        addCommand("get-resource-group", new GetResourceGroup());
        addCommand("set-resource-group", new SetResourceGroup());
        addCommand("remove-resource-group", new RemoveResourceGroup());

        addCommand("get-entry-filters", new GetEntryFiltersPerTopic());
        addCommand("set-entry-filters", new SetEntryFiltersPerTopic());
        addCommand("remove-entry-filters", new RemoveEntryFiltersPerTopic());

        addCommand("update-migration-state", new UpdateMigrationState());

        addCommand("set-dispatcher-pause-on-ack-state-persistent",
                new SetDispatcherPauseOnAckStatePersistent());
        addCommand("get-dispatcher-pause-on-ack-state-persistent",
                new GetDispatcherPauseOnAckStatePersistent());
        addCommand("remove-dispatcher-pause-on-ack-state-persistent",
                new RemoveDispatcherPauseOnAckStatePersistent());
    }