Package com.nomagic.magicdraw.plugins
Class RequiredPlugin
java.lang.Object
com.nomagic.magicdraw.plugins.RequiredPlugin
Represents the required plugin info.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns required plugin internal version numberReturns required maximum plugin internal version numbergetName()
Returns name of the required plugin.Returns required plugin version number.Returns required maximum plugin version number.boolean
-
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 nameoptionalValue
- if plugin optional
-
-
Method Details
-
getName
Returns name of the required plugin.- Returns:
- name of the required plugin
-
getVersion
Returns required plugin version number.- Returns:
- version number
-
getInternalVersion
Returns required plugin internal version number- Returns:
- internal version number
-
getVersionMax
Returns required maximum plugin version number.- Returns:
- version number
-
getInternalVersionMax
Returns required maximum plugin internal version number- Returns:
- internal version number
-
isOptional
public boolean isOptional()
-