public class FixDelegator extends BaseDelegator implements IFixDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
Constructor and Description |
---|
FixDelegator(IOptionsServer server)
Instantiates a new fix delegator.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IFix> |
fixJobs(java.util.List<java.lang.String> jobIds,
int changeListId,
FixJobsOptions opts)
Mark each named job as being fixed by the changelist number given with
changeListId.
|
java.util.List<IFix> |
fixJobs(java.util.List<java.lang.String> jobIds,
int changeListId,
java.lang.String status,
boolean delete)
Mark each named job as being fixed by the changelist number given with
changeListId.
|
public FixDelegator(IOptionsServer server)
server
- the serverpublic java.util.List<IFix> fixJobs(java.util.List<java.lang.String> jobIds, int changeListId, java.lang.String status, boolean delete) throws ConnectionException, RequestException, AccessException
IFixDelegator
fixJobs
in interface IFixDelegator
jobIds
- non-null non-empty list of affected job IDs.changeListId
- changelist ID for affected changelist.status
- the statusdelete
- whether to delete.ConnectionException
- the connection exceptionRequestException
- the request exceptionAccessException
- the access exceptionpublic java.util.List<IFix> fixJobs(@Nonnull java.util.List<java.lang.String> jobIds, int changeListId, FixJobsOptions opts) throws P4JavaException
IFixDelegator
fixJobs
in interface IFixDelegator
jobIds
- non-null non-empty list of affected job IDs.changeListId
- changelist ID for affected changelist.opts
- FixJobsOptions object describing optional parameters; if null,
no options are set.P4JavaException
- if an error occurs processing this method and its parameters.