Class RequiredPlugin

java.lang.Object
com.nomagic.magicdraw.plugins.RequiredPlugin

@OpenApiAll public class RequiredPlugin extends Object
Represents the required plugin info.
  • Constructor Details

    • RequiredPlugin

      public RequiredPlugin(@CheckForNull String internalVersion, @CheckForNull String version, @CheckForNull String internalVersionMax, @CheckForNull String versionMax, @CheckForNull String name, @CheckForNull String optionalValue)
      Constructor.
      Parameters:
      internalVersion - required plugin internal version number.
      version - required plugin version number.
      internalVersionMax - required maximum plugin internal version number.
      versionMax - required maximum plugin version number.
      name - required plugin name
      optionalValue - if plugin optional
  • Method Details

    • getName

      @CheckForNull public String getName()
      Returns name of the required plugin.
      Returns:
      name of the required plugin
    • getVersion

      @CheckForNull public String getVersion()
      Returns required plugin version number.
      Returns:
      version number
    • getInternalVersion

      @CheckForNull public String getInternalVersion()
      Returns required plugin internal version number
      Returns:
      internal version number
    • getVersionMax

      @CheckForNull public String getVersionMax()
      Returns required maximum plugin version number.
      Returns:
      version number
    • getInternalVersionMax

      @CheckForNull public String getInternalVersionMax()
      Returns required maximum plugin internal version number
      Returns:
      internal version number
    • isOptional

      public boolean isOptional()