Interface Model

    • Field Detail

      • ROLE_NAME

        static final String ROLE_NAME
        Plexus role name
    • Method Detail

      • getName

        String getName()
        Returns the name of this model.
        Returns:
        the name of this model.
      • getVersion

        String getVersion()
        Returns the version of this model.
        Returns:
        the version of this model.
      • getModelType

        String getModelType()
        Returns:
        the type of model.
        Since:
        2.6.3
      • getExtension

        <O> O getExtension​(String reference,
                           Class<O> extensionClass)
                    throws ClassCastException,
                           IllegalArgumentException
        Get the extension associated to the reference (unique)
        Type Parameters:
        O - object type returned
        Parameters:
        reference - unique corresponding to the extension to get
        extensionClass - class of the extension
        Returns:
        the object value for the extension
        Throws:
        ClassCastException - when extensionClass is not valid
        IllegalArgumentException - for non existing extension with reference