Class SharedCodeService.DependentResult<D extends CodeDelegate>

java.lang.Object
org.praxislive.code.SharedCodeService.DependentResult<D>
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 Details

    • DependentResult

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

    • 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