Module org.praxislive.code
Package org.praxislive.code
Class SharedCodeService.DependentTask<D extends CodeDelegate>
- java.lang.Object
-
- org.praxislive.code.SharedCodeService.DependentTask<D>
-
- Type Parameters:
D- base delegate type
- Enclosing class:
- SharedCodeService
public static class SharedCodeService.DependentTask<D extends CodeDelegate> extends Object
A dependent task for recompiling aCodeDelegateagainst the new shared code classes.
-
-
Constructor Summary
Constructors Constructor Description DependentTask(CodeFactory<D> factory, String existingSource, Class<D> existingClass)Create a DependentTask.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<D>getExistingClass()Get the existing class.StringgetExistingSource()Get the existing source.CodeFactory<D>getFactory()Get code factory.
-
-
-
Constructor Detail
-
DependentTask
public DependentTask(CodeFactory<D> factory, String existingSource, Class<D> existingClass)
Create a DependentTask.- Parameters:
factory- code factory for delegateexistingSource- existing source to recompileexistingClass- 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
-
-