public class FileSpecBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.List<IFileSpec> |
getInvalidFileSpecs(java.util.List<IFileSpec> fileSpecs)
Given a list of file specs, return a list of the invalid file specs in that list.
|
static java.util.List<IFileSpec> |
getValidFileSpecs(java.util.List<IFileSpec> fileSpecs)
Given a list of file specs, return a list of the valid file specs in that list.
|
static java.util.List<IFileSpec> |
makeFileSpecList(java.util.List<java.lang.String> filePaths)
Given a list of file paths (which might include revision or label specs, etc.),
return a corresponding list of file specs.
|
static java.util.List<IFileSpec> |
makeFileSpecList(java.lang.String... filePaths)
Given an array of file paths (which might include revision or label specs, etc.),
return a corresponding list of file specs.
|
public static java.util.List<IFileSpec> makeFileSpecList(@Nullable java.util.List<java.lang.String> filePaths)
filePaths
- list of path stringspublic static java.util.List<IFileSpec> makeFileSpecList(java.lang.String... filePaths)
NOTE: use the 'FileSpecBuilder.makeFileSpecList(List
filePaths
- array of path stringspublic static java.util.List<IFileSpec> getValidFileSpecs(@Nullable java.util.List<IFileSpec> fileSpecs)
fileSpecs
- candidate file specspublic static java.util.List<IFileSpec> getInvalidFileSpecs(@Nullable java.util.List<IFileSpec> fileSpecs)
fileSpecs
- candidate file specsCopyright © 2018 Perforce Software. All Rights Reserved.