public class ServerUtils
extends java.lang.Object
Constructor and Description |
---|
ServerUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isCmakeInputsResultValid(CmakeInputsResult cmakeInputsResult)
Validates if the response to cmake inputs from Cmake server is valid
|
static boolean |
isCodeModelValid(CodeModel codeModel)
Validates if the response to code model from Cmake server is valid
|
static boolean |
isComputedResultValid(ComputeResult computeResult)
Validates if the result of compute from Cmake server is valid
|
static boolean |
isConfigureResultValid(ConfigureResult configureResult)
Validates the given response to configure command from Cmake server
|
static boolean |
isHandshakeResultValid(HandshakeResult handshakeResult)
Validates the given handshake result object.
|
static boolean |
isHelloResultValid(HelloResult helloResult)
Validates the given hello result object.
|
public static boolean isHelloResultValid(HelloResult helloResult)
helloResult
- - given hello result received from Cmake serverpublic static boolean isHandshakeResultValid(@NonNull HandshakeResult handshakeResult)
handshakeResult
- - given handshake result received from Cmake serverpublic static boolean isConfigureResultValid(ConfigureResult configureResult)
public static boolean isComputedResultValid(@NonNull ComputeResult computeResult)
public static boolean isCodeModelValid(@NonNull CodeModel codeModel)
public static boolean isCmakeInputsResultValid(@NonNull CmakeInputsResult cmakeInputsResult)