Class SharedCodeService.DependentResult<D extends CodeDelegate>

  • Type Parameters:
    D - base delegate type
    Enclosing class:
    SharedCodeService

    public static class SharedCodeService.DependentResult<D extends CodeDelegate>
    extends Object
    A dependent result with new code context linked to new shared code classes.
    • Constructor Detail

      • DependentResult

        public DependentResult​(CodeContext<D> context,
                               Class<D> existing)
        Create a DependentResult.
        Parameters:
        context - code context
        existing - the existing (previous) class
    • Method Detail

      • getContext

        public CodeContext<D> getContext()
        Get the code context.
        Returns:
        code context
      • getExisting

        public Class<? extends D> getExisting()
        Get the existing (previous) class. Used for validation.
        Returns:
        existing (previous) class