java.lang.Object
org.praxislive.code.SharedCodeService.Result
- Enclosing class:
SharedCodeService
Result with shared classes, dependent code contexts, and log.
-
Constructor Summary
ConstructorsConstructorDescriptionResult()Create an empty Result.Result(ClassLoader sharedClasses, Map<ControlAddress, SharedCodeService.DependentResult<CodeDelegate>> dependents, LogBuilder log) Create a Result. -
Method Summary
Modifier and TypeMethodDescriptionGet the map of dependent results.getLog()Get the logGet the shared classes classloader.
-
Constructor Details
-
Result
public Result()Create an empty Result. -
Result
public Result(ClassLoader sharedClasses, Map<ControlAddress, SharedCodeService.DependentResult<CodeDelegate>> dependents, LogBuilder log) Create a Result.The dependents map will be copied and sorted by depth.
- Parameters:
sharedClasses- new shared classes classloaderdependents- map of dependent resultslog- log
-
-
Method Details
-
getDependents
Get the map of dependent results.The map is an immutable ordered map, sorted by depth from root, then by natural order. Dependents should be processed in the iteration order of the map.
- Returns:
- dependents
-
getLog
Get the log- Returns:
- log