Package com.nomagic.magicdraw.plugins
Class RequiredPlugin
- java.lang.Object
-
- com.nomagic.magicdraw.plugins.RequiredPlugin
-
@OpenApiAll public class RequiredPlugin extends java.lang.Object
Represents the required plugin info.
-
-
Constructor Summary
Constructors Constructor Description RequiredPlugin(java.lang.String internalVersion, java.lang.String version, java.lang.String internalVersionMax, java.lang.String versionMax, java.lang.String name, java.lang.String optionalValue)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getInternalVersion()
Returns required plugin internal version numberjava.lang.String
getInternalVersionMax()
Returns required maximum plugin internal version numberjava.lang.String
getName()
Returns name of the required plugin.java.lang.String
getVersion()
Returns required plugin version number.java.lang.String
getVersionMax()
Returns required maximum plugin version number.boolean
isOptional()
-
-
-
Constructor Detail
-
RequiredPlugin
public RequiredPlugin(@CheckForNull java.lang.String internalVersion, @CheckForNull java.lang.String version, @CheckForNull java.lang.String internalVersionMax, @CheckForNull java.lang.String versionMax, @CheckForNull java.lang.String name, @CheckForNull java.lang.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 Detail
-
getName
@CheckForNull public java.lang.String getName()
Returns name of the required plugin.- Returns:
- name of the required plugin
-
getVersion
@CheckForNull public java.lang.String getVersion()
Returns required plugin version number.- Returns:
- version number
-
getInternalVersion
@CheckForNull public java.lang.String getInternalVersion()
Returns required plugin internal version number- Returns:
- internal version number
-
getVersionMax
@CheckForNull public java.lang.String getVersionMax()
Returns required maximum plugin version number.- Returns:
- version number
-
getInternalVersionMax
@CheckForNull public java.lang.String getInternalVersionMax()
Returns required maximum plugin internal version number- Returns:
- internal version number
-
isOptional
public boolean isOptional()
-
-