brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <>
Subject [GitHub] incubator-brooklyn pull request: Some further tidies in wake of la...
Date Thu, 16 Oct 2014 16:25:39 GMT
Github user ahgittin commented on a diff in the pull request:
    --- Diff: api/src/main/java/brooklyn/location/ ---
    @@ -49,35 +51,54 @@
         /** removes the defined location from the registry (applications running there are
unaffected) */
         public void removeDefinedLocation(String id);
    -    /** returns fully populated (config etc) location from the given definition, 
    -     * currently by creating it but TODO creation can be a leak so all current 'resolve'
methods should be carefully used! */
    +    /** Returns a fully populated (config etc) location from the given definition, with
optional add'l flags.
    +     * the location will be managed by default, unless the manage parameter is false
or the CREATE_UNMANAGED flag is set.
    +     * @since 0.7.0, but beta and likely to change as the semantics of this class are
tuned */
    +    @Beta
    +    public Maybe<Location> resolve(LocationDefinition ld, Boolean manage, Map locationFlags);
    --- End diff --
    `null` for `manage` meant to rely on the flags, and manage if no flags; that's the default
used in most places.  but fair enough to say `true` means leave unset (so rely on flags).
 will change to `boolean`.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message