Package org.apache.maven.classrealm
Interface ClassRealmRequest
public interface ClassRealmRequest
Describes the requirements for a new class realm.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumThe type of a class realm.
- 
Method SummaryModifier and TypeMethodDescriptionGets the constituents for the class realm.Gets the packages/types to import from foreign realms.Deprecated.Gets the parent class realm (if any).Gets the packages/types to import from the parent realm.getType()Gets the type of the class realm.
- 
Method Details- 
getTypeClassRealmRequest.RealmType getType()Gets the type of the class realm.- Returns:
- The type of the class realm, never null.
 
- 
getParentClassLoader getParent()Gets the parent class realm (if any).- Returns:
- The parent class realm or nullif using the default parent.
 
- 
getImportsDeprecated.UsegetParentImports()instead.- Returns:
- imports
 
- 
getParentImportsGets the packages/types to import from the parent realm.- Returns:
- The modifiable list of packages/types to import from the parent realm, never null.
 
- 
getForeignImportsMap<String,ClassLoader> getForeignImports()Gets the packages/types to import from foreign realms.- Returns:
- The modifiable map of packages/types to import from foreign realms, never null.
 
- 
getConstituentsList<ClassRealmConstituent> getConstituents()Gets the constituents for the class realm.- Returns:
- The modifiable list of constituents for the class realm, never null.
 
 
- 
getParentImports()instead.