Topic
  • 1 reply
  • Latest Post - ‏2013-06-27T03:29:44Z by Stan
sgsiebers
sgsiebers
13 Posts

Pinned topic Specifying related operator parameters

‏2013-06-26T13:10:00Z |

I'm creating a Java primitive operator that that accepts 2 different parameters.  Both are optional, however they are interrelated and therefore must be specified "together" or not at all because one is useless without the other.  Is there any way to enforce this in the operator model so it can be checked at SPL compile time?  I know I can have my Java code conduct the check that both were set during initialization, but would prefer to not have to wait until runtime for the developer to notice the mistake.  Thanks for the feedback.