Java Code Examples for hudson.util.DirScanner#Glob

The following examples show how to use hudson.util.DirScanner#Glob . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: S3UploadAllCallable.java    From jobcacher-plugin with MIT License 5 votes vote down vote up
public S3UploadAllCallable(ClientHelper clientHelper, String fileMask, String excludes, String bucketName, String pathPrefix, Map<String, String> userMetadata, String storageClass, boolean useServerSideEncryption) {
    super(clientHelper, userMetadata, storageClass, useServerSideEncryption);
    this.bucketName = bucketName;
    this.pathPrefix = pathPrefix;

    scanner = new DirScanner.Glob(fileMask, excludes);
}
 
Example 2
Source File: S3DownloadAllCallable.java    From jobcacher-plugin with MIT License 5 votes vote down vote up
public S3DownloadAllCallable(ClientHelper helper, String fileMask, String excludes, String bucketName, String pathPrefix) {
    super(helper);
    this.bucketName = bucketName;
    this.pathPrefix = pathPrefix;

    scanner = new DirScanner.Glob(fileMask, excludes);
}