public class RegisteredTypeLoadingContexts
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RegisteredTypeLoadingContexts.BasicRegisteredTypeLoadingContext
Immutable (from caller's perspective) record of a constraint
|
Constructor and Description |
---|
RegisteredTypeLoadingContexts() |
Modifier and Type | Method and Description |
---|---|
static RegisteredTypeLoadingContext |
alreadyEncountered(java.util.Set<java.lang.String> encounteredTypeSymbolicNames) |
static RegisteredTypeLoadingContext |
alreadyEncountered(java.util.Set<java.lang.String> encounteredTypeSymbolicNames,
java.lang.String anotherEncounteredType) |
static RegisteredTypeLoadingContext |
any()
returns a constraint which allows anything
|
static RegisteredTypeLoadingContext |
bean(java.lang.Class<?> javaSuperType) |
static RegisteredTypeLoadingContext |
loader(BrooklynClassLoadingContext loader) |
static RegisteredTypeLoadingContext |
loaderAlreadyEncountered(BrooklynClassLoadingContext loader,
java.util.Set<java.lang.String> encounteredTypeSymbolicNames) |
static RegisteredTypeLoadingContext |
loaderAlreadyEncountered(BrooklynClassLoadingContext loader,
java.util.Set<java.lang.String> encounteredTypeSymbolicNames,
java.lang.String anotherEncounteredType) |
static RegisteredTypeLoadingContext |
spec(java.lang.Class<? extends BrooklynObject> javaSuperType) |
static <T> RegisteredTypeLoadingContext |
withBeanSuperType(RegisteredTypeLoadingContext source,
java.lang.Class<T> beanSuperType)
Adds the required supertype for beans, or supertype of the spec target (e.g.
|
static RegisteredTypeLoadingContext |
withLoader(RegisteredTypeLoadingContext constraint,
BrooklynClassLoadingContext loader) |
static <T extends AbstractBrooklynObjectSpec<?,?>> |
withSpecSuperType(RegisteredTypeLoadingContext source,
java.lang.Class<T> specSuperType)
Takes a Spec java type and adds an expected java type to the
RegisteredTypeLoadingContext |
public static RegisteredTypeLoadingContext any()
public static RegisteredTypeLoadingContext alreadyEncountered(java.util.Set<java.lang.String> encounteredTypeSymbolicNames)
public static RegisteredTypeLoadingContext alreadyEncountered(java.util.Set<java.lang.String> encounteredTypeSymbolicNames, java.lang.String anotherEncounteredType)
public static RegisteredTypeLoadingContext loaderAlreadyEncountered(BrooklynClassLoadingContext loader, java.util.Set<java.lang.String> encounteredTypeSymbolicNames)
public static RegisteredTypeLoadingContext loaderAlreadyEncountered(BrooklynClassLoadingContext loader, java.util.Set<java.lang.String> encounteredTypeSymbolicNames, java.lang.String anotherEncounteredType)
public static RegisteredTypeLoadingContext bean(java.lang.Class<?> javaSuperType)
public static RegisteredTypeLoadingContext spec(java.lang.Class<? extends BrooklynObject> javaSuperType)
public static <T> RegisteredTypeLoadingContext withBeanSuperType(@Nullable RegisteredTypeLoadingContext source, @Nullable java.lang.Class<T> beanSuperType)
public static <T extends AbstractBrooklynObjectSpec<?,?>> RegisteredTypeLoadingContext withSpecSuperType(@Nullable RegisteredTypeLoadingContext source, @Nullable java.lang.Class<T> specSuperType)
RegisteredTypeLoadingContext
public static RegisteredTypeLoadingContext loader(BrooklynClassLoadingContext loader)
public static RegisteredTypeLoadingContext withLoader(RegisteredTypeLoadingContext constraint, BrooklynClassLoadingContext loader)