geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sai Boorlagadda <sai.boorlaga...@gmail.com>
Subject derived property + default value
Date Tue, 28 Aug 2018 23:31:01 GMT
is there a recommended way in GEODE to implement a derived property's
default behavior?

I have a boolean property 'ssl-endpoint-identification-enabled' which has
to have a default value (if unspecified) but the default value is derived
from other property 'ssl-use-default-context'.

I see two ways in the code base:
- Use boxed boolean and a null indicates if user specified or not.
- Use additional boolean to denote if user specified or not.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message