Class RequiredPlugin


  • @OpenApiAll
    public class RequiredPlugin
    extends java.lang.Object
    Represents the required plugin info.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String mInternalVersion
      Required plugin internal version
      private java.lang.String mInternalVersionMax
      Required maximum plugin internal version
      private java.lang.String mName
      Required plugin name
      private java.lang.String mVersion
      Required plugin version number
      private java.lang.String mVersionMax
      Required maximum plugin version number
      private boolean optional
      Plugin is optional and not influence on loding of depended plugins
    • 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 Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static boolean getBooleanValue​(java.lang.String value)  
      java.lang.String getInternalVersion()
      Returns required plugin internal version number
      java.lang.String getInternalVersionMax()
      Returns required maximum plugin internal version number
      java.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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mName

        @CheckForNull
        private final java.lang.String mName
        Required plugin name
      • mVersion

        @CheckForNull
        private final java.lang.String mVersion
        Required plugin version number
      • mInternalVersion

        @CheckForNull
        private final java.lang.String mInternalVersion
        Required plugin internal version
      • mVersionMax

        @CheckForNull
        private final java.lang.String mVersionMax
        Required maximum plugin version number
      • mInternalVersionMax

        @CheckForNull
        private final java.lang.String mInternalVersionMax
        Required maximum plugin internal version
      • optional

        private final boolean optional
        Plugin is optional and not influence on loding of depended plugins
    • 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 name
        optionalValue - if plugin optional
    • Method Detail

      • getBooleanValue

        private static boolean getBooleanValue​(@CheckForNull
                                               java.lang.String value)
      • 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()