BuildType (CmdlineRemoteProto.Message.ControllerMessage.ParametersMessage.Type compileType) { switch (compileType) { case CLEAN: return BuildType.CLEAN; case BUILD: return BuildType.BUILD; case UP_TO_DATE_CHECK: return BuildType.UP_TO_DATE_CHECK; } return BuildType.BUILD; }