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 |
|---|---|
List<IFix> |
fixJobs(List<String> jobIds,
int changeListId,
FixJobsOptions opts)
Mark each named job as being fixed by the changelist number given with
changeListId.
|
List<IFix> |
fixJobs(List<String> jobIds,
int changeListId,
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 List<IFix> fixJobs(List<String> jobIds, int changeListId, String status, boolean delete) throws ConnectionException, RequestException, AccessException
IFixDelegatorfixJobs in interface IFixDelegatorjobIds - 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 List<IFix> fixJobs(@Nonnull List<String> jobIds, int changeListId, FixJobsOptions opts) throws P4JavaException
IFixDelegatorfixJobs in interface IFixDelegatorjobIds - 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.Copyright © 2017 Perforce Software. All Rights Reserved.