Package com.perforce.p4java.server
Class HelixCommandExecutor
java.lang.Object
com.perforce.p4java.server.HelixCommandExecutor
- All Implemented Interfaces:
IHelixCommandExecutor
- Direct Known Subclasses:
Server
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleErrorStr(Map<String, Object> map) Deprecated.handleFileErrorStr(Map<String, Object> map) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.perforce.p4java.server.IHelixCommandExecutor
execMapCmdList, execMapCmdList, execStreamCmd, execStreamCmdForBuffer, getErrorOrInfoStr, getErrorStr, getInfoStr, isAuthFail, isInfoMessage
-
Constructor Details
-
HelixCommandExecutor
public HelixCommandExecutor()
-
-
Method Details
-
execMapCmdList
public List<Map<String,Object>> execMapCmdList(@Nonnull CmdSpec cmdSpec, String[] cmdArgs, Map<String, Object> inMap) throws ConnectionException, AccessException- Specified by:
execMapCmdListin interfaceIHelixCommandExecutor- Throws:
ConnectionExceptionAccessException
-
handleFileErrorStr
@Deprecated public String handleFileErrorStr(Map<String, Object> map) throws ConnectionException, AccessExceptionDeprecated.- Specified by:
handleFileErrorStrin interfaceIHelixCommandExecutor- Parameters:
map- Perforce command results map- Returns:
- possibly-null info/warning/error/fatal string
- Throws:
ConnectionException- on errorAccessException- on error
-
handleErrorStr
@Deprecated public boolean handleErrorStr(Map<String, Object> map) throws RequestException, AccessExceptionDeprecated.- Specified by:
handleErrorStrin interfaceIHelixCommandExecutor- Parameters:
map- Perforce command results map- Returns:
- possibly-null info/warning/error/fatal string
- Throws:
RequestException- on errorAccessException- on error
-
ResultMapParser.handleErrorStr(Map)