metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Casey Stella <>
Subject Re: SHELL_EDIT Stellar command and execution context
Date Fri, 10 Mar 2017 17:10:57 GMT
That means that it will attempt to get the capability and if it's not
there, it won't throw an exception, but rather just return
Optional.empty().  Yeah, we probably actually *do* want an exception thrown
there in the case where we're not in a shell context (probably don't want
vim starting inside of a storm'll get confused and angry ;)

On Thu, Mar 9, 2017 at 11:07 PM, Otto Fowler <>

> I was looking at this command that the capabilities functionality in
> Context and I saw that the call for capabilities is:
> Optional<Object> console =  context.getCapability(CONSOLE, false);
> This means that if we are NOT in CONSOLE, there will not be an error.
> I don’t think this is correct is it?

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