public void setBundleStartLevel()

in integrations/rest-management/rest-management/src/main/java/org/apache/aries/jax/rs/rest/management/internal/client/RestClientImpl.java [454:478]


    public void setBundleStartLevel(long id, int startLevel) throws Exception {
        BundleStartLevelDTO bundleStartLevelDTO = new BundleStartLevelDTO();
        bundleStartLevelDTO.startLevel = startLevel;

        try (Response response = maybeThrow(
            webTarget.path(
                "framework"
            ).path(
                "bundle"
            ).path(
                "{bundleid}"
            ).path(
                "startlevel"
            ).resolveTemplate(
                "bundleid", id
            ).request(
            ).put(
                Entity.entity(
                    bundleStartLevelDTO,
                    APPLICATION_BUNDLESTARTLEVEL_JSON_TYPE
                )
            )
        )) {
        }
    }