
com.marklogic.mgmt.selector.RegexResourceSelector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ml-app-deployer Show documentation
Show all versions of ml-app-deployer Show documentation
Java client for the MarkLogic REST Management API and for deploying applications to MarkLogic
package com.marklogic.mgmt.selector;
import java.util.regex.Pattern;
public class RegexResourceSelector extends AbstractNameMatchingResourceSelector {
private Pattern pattern;
public RegexResourceSelector(String regex) {
this.pattern = Pattern.compile(regex);
}
@Override
protected boolean nameMatches(String resourceName) {
return pattern.matcher(resourceName).matches();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy