Class DefaultTypeRegistry

java.lang.Object
org.apache.maven.internal.impl.DefaultTypeRegistry
All Implemented Interfaces:
Service, TypeRegistry

@Named @Singleton public class DefaultTypeRegistry extends Object implements TypeRegistry
  • Constructor Details

  • Method Details

    • getType

      @Nonnull public Type getType(String id)
      Description copied from interface: TypeRegistry
      Obtain the Type from the specified id. If no type is known for id, the registry will create a custom Type for it.
      Specified by:
      getType in interface TypeRegistry
      Parameters:
      id - the id of the type to retrieve
      Returns:
      the type