Class SharedCodeService.DependentTask<D extends CodeDelegate>

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

    public static class SharedCodeService.DependentTask<D extends CodeDelegate>
    extends Object
    A dependent task for recompiling a CodeDelegate against the new shared code classes.
    • Constructor Detail

      • DependentTask

        public DependentTask​(CodeFactory<D> factory,
                             String existingSource,
                             Class<D> existingClass)
        Create a DependentTask.
        Parameters:
        factory - code factory for delegate
        existingSource - existing source to recompile
        existingClass - existing class
    • Method Detail

      • getFactory

        public CodeFactory<D> getFactory()
        Get code factory.
        Returns:
        code factory
      • getExistingSource

        public String getExistingSource()
        Get the existing source.
        Returns:
        existing source
      • getExistingClass

        public Class<D> getExistingClass()
        Get the existing class.
        Returns:
        existing class