Class ResultListBuilder
- java.lang.Object
-
- com.perforce.p4java.impl.mapbased.server.cmd.ResultListBuilder
-
public class ResultListBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ResultListBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<IExtendedFileSpec>
buildNonNullExtendedFileSpecListFromCommandResultMaps(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultMaps, IOptionsServer server)
static <T> java.util.List<T>
buildNonNullObjectListFromCommandResultMaps(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultMaps, Function<java.util.Map<java.lang.String,java.lang.Object>,T> construct)
static <T> java.util.List<T>
buildNonNullObjectListFromNonMessageCommandResultMaps(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultMaps, Function<java.util.Map<java.lang.String,java.lang.Object>,T> construct)
static <T> T
buildNullableObjectFromNonInfoMessageCommandResultMaps(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultMaps, Function<java.util.Map<java.lang.String,java.lang.Object>,T> construct)
static IFileSpec
handleFileReturn(java.util.Map<java.lang.String,java.lang.Object> map, IServer server)
static IFileSpec
handleIntegrationFileReturn(java.util.Map<java.lang.String,java.lang.Object> map, boolean ignoreInfo, IServer server)
static IFileSpec
handleIntegrationFileReturn(java.util.Map<java.lang.String,java.lang.Object> map, IServer server)
-
-
-
Method Detail
-
buildNonNullObjectListFromCommandResultMaps
public static <T> java.util.List<T> buildNonNullObjectListFromCommandResultMaps(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultMaps, Function<java.util.Map<java.lang.String,java.lang.Object>,T> construct) throws P4JavaException
- Throws:
P4JavaException
-
buildNonNullObjectListFromNonMessageCommandResultMaps
public static <T> java.util.List<T> buildNonNullObjectListFromNonMessageCommandResultMaps(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultMaps, Function<java.util.Map<java.lang.String,java.lang.Object>,T> construct) throws P4JavaException
- Throws:
P4JavaException
-
buildNullableObjectFromNonInfoMessageCommandResultMaps
public static <T> T buildNullableObjectFromNonInfoMessageCommandResultMaps(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultMaps, Function<java.util.Map<java.lang.String,java.lang.Object>,T> construct) throws RequestException, AccessException
- Throws:
RequestException
AccessException
-
buildNonNullExtendedFileSpecListFromCommandResultMaps
public static java.util.List<IExtendedFileSpec> buildNonNullExtendedFileSpecListFromCommandResultMaps(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> resultMaps, IOptionsServer server) throws AccessException, ConnectionException
- Throws:
AccessException
ConnectionException
-
handleIntegrationFileReturn
public static IFileSpec handleIntegrationFileReturn(java.util.Map<java.lang.String,java.lang.Object> map, IServer server) throws AccessException, ConnectionException
- Throws:
AccessException
ConnectionException
-
handleIntegrationFileReturn
public static IFileSpec handleIntegrationFileReturn(java.util.Map<java.lang.String,java.lang.Object> map, boolean ignoreInfo, IServer server) throws AccessException, ConnectionException
- Throws:
AccessException
ConnectionException
-
handleFileReturn
public static IFileSpec handleFileReturn(java.util.Map<java.lang.String,java.lang.Object> map, IServer server) throws AccessException, ConnectionException
- Throws:
AccessException
ConnectionException
-
-