public class InterchangesDelegator extends BaseDelegator implements IInterchangesDelegator
| Modifier and Type | Class and Description |
|---|---|
static class |
InterchangesDelegator.InterchangesDelegatorHidden |
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION| Constructor and Description |
|---|
InterchangesDelegator(IOptionsServer server)
Build a new InterchangesDelegator object and keep the server object for
using in the command processing.
|
| Modifier and Type | Method and Description |
|---|---|
List<IChangelist> |
getInterchanges(IFileSpec fromFile,
IFileSpec toFile,
boolean showFiles,
boolean longDesc,
int maxChangelistId) |
List<IChangelist> |
getInterchanges(IFileSpec fromFile,
IFileSpec toFile,
GetInterchangesOptions opts)
Returns a list of changelists that have not been integrated from a set of
source files to a set of target files.
|
List<IChangelist> |
getInterchanges(String branchSpecName,
List<IFileSpec> fromFileList,
List<IFileSpec> toFileList,
boolean showFiles,
boolean longDesc,
int maxChangelistId,
boolean reverseMapping,
boolean biDirectional) |
List<IChangelist> |
getInterchanges(String branchSpecName,
List<IFileSpec> fromFileList,
List<IFileSpec> toFileList,
GetInterchangesOptions opts)
Returns a list of changelists that have not been integrated from a set of
source files to a set of target files.
|
List<IChangelist> |
processInterchangeMaps(List<Map<String,Object>> resultMaps,
boolean showFiles) |
public InterchangesDelegator(IOptionsServer server)
server - - the currently effective server implementationpublic List<IChangelist> getInterchanges(IFileSpec fromFile, IFileSpec toFile, GetInterchangesOptions opts) throws P4JavaException
IInterchangesDelegatorgetInterchanges in interface IInterchangesDelegatorfromFile - if non-null, use this as the from-file specification.toFile - if non-null, use this as the to-file specification.opts - GetInterchangesOptions object describing optional parameters;
if null, no options are set.P4JavaException - if an error occurs processing this method and its parameters.public List<IChangelist> getInterchanges(String branchSpecName, List<IFileSpec> fromFileList, List<IFileSpec> toFileList, GetInterchangesOptions opts) throws P4JavaException
IInterchangesDelegatorNote that depending on the specific options passed-in the fromFileList can be null or one file spec; the toFileList can be null, one or more file specs. The full semantics of this operation are found in the main 'p4 help interchanges' documentation.
getInterchanges in interface IInterchangesDelegatorbranchSpecName - if non-null and not empty, use this as the branch spec name.fromFileList - if non-null and not empty, and biDirectional is true, use this
as the from file list.toFileList - if non-null and not empty, use this as the to file list.opts - GetInterchangesOptions object describing optional parameters;
if null, no options are set.P4JavaException - if an error occurs processing this method and its parameters.public List<IChangelist> getInterchanges(IFileSpec fromFile, IFileSpec toFile, boolean showFiles, boolean longDesc, int maxChangelistId) throws ConnectionException, RequestException, AccessException
public List<IChangelist> getInterchanges(String branchSpecName, List<IFileSpec> fromFileList, List<IFileSpec> toFileList, boolean showFiles, boolean longDesc, int maxChangelistId, boolean reverseMapping, boolean biDirectional) throws ConnectionException, RequestException, AccessException
public List<IChangelist> processInterchangeMaps(List<Map<String,Object>> resultMaps, boolean showFiles) throws ConnectionException, AccessException, RequestException
Copyright © 2017 Perforce Software. All Rights Reserved.