Class ClusterNameExpressionResolver


public final class ClusterNameExpressionResolver extends Object
Resolves cluster names from an expression. The expression must be the exact match of a cluster name or must be a wildcard expression.
  • Constructor Details

    • ClusterNameExpressionResolver

      public ClusterNameExpressionResolver()
  • Method Details

    • resolveClusterNames

      public List<String> resolveClusterNames(Set<String> remoteClusters, String clusterExpression)
      Resolves the provided cluster expression to matching cluster names. This method only supports exact or wildcard matches.
      remoteClusters - the aliases for remote clusters
      clusterExpression - the expressions that can be resolved to cluster names.
      the resolved cluster aliases.