The FindJobsParameters type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FindJobsParameters |
Define the default constructor to ensure that internal collections are initialized in correct way.
|
Properties
Name | Description | |
---|---|---|
CustomPropertyFilters |
A collection of key/value pairs, defining how to filter jobs by custom properties.
- The key must be found in target jobs' custom properties;
- The value is a regex pattern which should be matched against corresponding property's value.
The returned jobs are intersection of all those filters' result.
| |
JobNameRegex |
The regex pattern of jobs' names. Returned jobs should have match for this pattern.
| |
JobStates |
Returned jobs should be in one of those specified states.
By now, CJS supports at most one state.
| |
JobUtcEndTimeRange |
A time range specified as UTC time. The returned jobs' end time should be inside [start, end) defined in this TimeRange.
Note, by now, CJS only accepts end date, not a range yet.
| |
UserName |
The name of user who submits the job. Returned jobs all should be submitted by this user.
| |
VcName |
The target VC for finding jobs.
|