On Fri, May 31, 2019 at 3:17 AM 'Gavin Mogan' via Jenkins Developers
<[email protected]> wrote:
> From a stapler point of view I have a few questions about RunWithSCM and
> other job interfaces.
>
> 1) Is there any reason its not exported? I'm assuming because the classes
> that actually implement it are exported?
`@ExportedBean` you mean? Or `@Exported`? These annotations cannot be
used on interfaces or interface methods.
> 2) Is there anything special about RunWithSCM and its kin that would help me
> find other useful implementations?
Can you be more explicit?
> With graphql, when fetching data, as I understand it, you need to say how to
> handle subclasses.
Sounds like a question about GraphQL, or its Java bindings (that mixin
interfaces are not well supported), rather than about Jenkins per se.
> ... on FreeStyleProject { // scm stuff (legacy) }
> ... on RunWithSCM { // modern scm stuff }
In this case `AbstractBuild` is retrofitted to implement `RunWithSCM`
so the first clause would not be necessary.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0cwe28ORgJDUnwTZu0Ls-%2BY4RHcQ3DAVbvxkYAU9f5oQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.