Interface IFixDelegator
-
- All Known Subinterfaces:
IOptionsServer
,IServer
,IStreamingServer
- All Known Implementing Classes:
FixDelegator
,NtsServerImpl
,OneShotServerImpl
,RpcServer
,Server
public interface IFixDelegator
Interface for implementations of 'p4 fix'.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
fixJobs
java.util.List<IFix> fixJobs(@Nonnull java.util.List<java.lang.String> jobIds, int changeListId, FixJobsOptions opts) throws P4JavaException
Mark each named job as being fixed by the changelist number given with changeListId.- 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.
-
fixJobs
java.util.List<IFix> fixJobs(java.util.List<java.lang.String> jobIds, int changeListId, java.lang.String status, boolean delete) throws ConnectionException, RequestException, AccessException
Mark each named job as being fixed by the changelist number given with changeListId.- 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
-
-