Class FixDelegator
java.lang.Object
com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
com.perforce.p4java.impl.mapbased.server.cmd.FixDelegator
- All Implemented Interfaces:
IFixDelegator
Implementation for 'p4 fix'.
-
Field Summary
Fields inherited from class com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfixJobs(List<String> jobIds, int changeListId, FixJobsOptions opts) Mark each named job as being fixed by the changelist number given with changeListId.Mark each named job as being fixed by the changelist number given with changeListId.
-
Constructor Details
-
FixDelegator
Instantiates a new fix delegator.- Parameters:
server- the server
-
-
Method Details
-
fixJobs
public List<IFix> fixJobs(List<String> jobIds, int changeListId, String status, boolean delete) throws ConnectionException, RequestException, AccessException Description copied from interface:IFixDelegatorMark each named job as being fixed by the changelist number given with changeListId.- Specified by:
fixJobsin interfaceIFixDelegator- Parameters:
jobIds- non-null non-empty list of affected job IDs.changeListId- changelist ID for affected changelist.status- the statusdelete- whether to delete.- Returns:
- list of affected fixes.
- Throws:
ConnectionException- the connection exceptionRequestException- the request exceptionAccessException- the access exception
-
fixJobs
public List<IFix> fixJobs(@Nonnull List<String> jobIds, int changeListId, FixJobsOptions opts) throws P4JavaException Description copied from interface:IFixDelegatorMark each named job as being fixed by the changelist number given with changeListId.- Specified by:
fixJobsin interfaceIFixDelegator- Parameters:
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.- Returns:
- list of affected fixes.
- Throws:
P4JavaException- if an error occurs processing this method and its parameters.
-