brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] brooklyn-server pull request #819: Improve config key descriptions
Date Thu, 14 Sep 2017 07:42:21 GMT
Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/819#discussion_r138818482
  
    --- Diff: core/src/main/java/org/apache/brooklyn/core/entity/BrooklynConfigKeys.java ---
    @@ -88,40 +93,48 @@
          * <p>
          * If this key is set on a {@link Location} then all entities in that location will
be treated in this way, again as with {@link #ENTITY_STARTED}.
          *
    -     * @see #ENTITY_STARTED
    +     * @see #SKIP_ENTITY_START
          */
    -    public static final ConfigKey<Boolean> SKIP_ENTITY_START_IF_RUNNING = newBooleanConfigKey("entity.running",
"Skip the startup process entirely, if service already running");
    +    public static final ConfigKey<Boolean> SKIP_ENTITY_START_IF_RUNNING = ConfigKeys.builder(Boolean.class)
    +            .name("skip.start.ifRunning") 
    +            .deprecatedNames("entity.running") 
    +            .description("Whether to skip the startup process entirely, but only if it
already running")
    --- End diff --
    
    `Whether to skip the startup process if the entity is detected as already running` ?


---

Mime
View raw message