Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for jsonObject (0.11 sec)

  1. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ProblemReportAdapterFactory.java

                }
                JsonObject jsonObject = implClassAdapter.toJsonTree((U) value).getAsJsonObject();
                JsonObject clone = new JsonObject();
                clone.add(label, new JsonPrimitive(label));
                for (Map.Entry<String, JsonElement> e : jsonObject.entrySet()) {
                    clone.add(e.getKey(), e.getValue());
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

    }
    
    class TestClassTime(
        val testClassAndSourceSet: TestClassAndSourceSet,
        val buildTimeMs: Int
    ) {
        constructor(jsonObject: JSONObject) : this(
            TestClassAndSourceSet(
                jsonObject.getString("testClass"),
                jsonObject.getString("sourceSet")
            ),
            jsonObject.getIntValue("buildTimeMs")
        )
    }
    
    data class TestCoverageAndBucketSplits(
        val testCoverageUuid: Int,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:04:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

        }
    
        class TeamCityParallelTests(val numberOfBatches: Int) : ParallelizationMethod()
    
        companion object {
            fun fromJson(jsonObject: JSONObject): ParallelizationMethod {
                val methodJsonObject = jsonObject.getJSONObject("parallelizationMethod") ?: return None
                return when (methodJsonObject.getString("name")) {
                    null -> None
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 05:47:35 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

            return (performanceTestsCiJsonObj["performanceTests"] as JSONArray).map {
                val scenarioObj = it as JSONObject
                val testId = scenarioObj["testId"] as String
                val groups = (scenarioObj["groups"] as JSONArray).map {
                    val groupObj = it as JSONObject
                    val testProject = groupObj["testProject"] as String
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt

            }
        }
    
        private
        inline fun <T> jsonObjectList(list: Iterable<T>, body: (T) -> Unit) {
            jsonList(list) {
                jsonObject {
                    body(it)
                }
            }
        }
    
        private
        inline fun jsonObject(body: () -> Unit) {
            beginObject()
            body()
            endObject()
        }
    
        private
        fun beginObject() {
            write('{')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. samples/bookinfo/src/reviews/reviews-application/src/main/java/application/rest/LibertyRestEndpoint.java

          int starsReviewer1 = -1;
          int starsReviewer2 = -1;
    
          if (ratings_enabled) {
            JsonObject ratingsResponse = getRatings(Integer.toString(productId), requestHeaders);
            if (ratingsResponse != null) {
              if (ratingsResponse.containsKey("ratings")) {
                JsonObject ratings = ratingsResponse.getJsonObject("ratings");
                if (ratings.containsKey("Reviewer1")){
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 15 22:25:32 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerialization.java

                JsonObject result = new JsonObject();
                result.addProperty("name", problemId.getName());
                result.addProperty("displayName", problemId.getDisplayName());
                result.add("group", serializeGroup(problemId.getGroup()));
                return result;
            }
    
    
            private static JsonObject serializeGroup(ProblemGroup group) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

                testCoverageAndBucket as JSONObject
                val testCoverage: TestCoverage = uuidToTestCoverage.getValue(testCoverageAndBucket.getIntValue("testCoverageUuid"))
                val buckets: List<SmallSubprojectBucket> = testCoverageAndBucket.getJSONArray("buckets").map {
                    FunctionalTestBucket(it as JSONObject).toBuildTypeBucket(model.subprojects)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 05:14:09 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top