Class DefaultExtensionDependency

    • Constructor Detail

      • DefaultExtensionDependency

        public DefaultExtensionDependency​(String id,
                                          VersionConstraint versionConstraint)
        Parameters:
        id - the id of the extension dependency
        versionConstraint - the version constraint of the extension dependency
      • DefaultExtensionDependency

        public DefaultExtensionDependency​(String id,
                                          VersionConstraint versionConstraint,
                                          boolean optional)
        Parameters:
        id - the id of the extension dependency
        versionConstraint - the version constraint of the extension dependency
        optional - true if the dependency is optional
        Since:
        9.6RC1
      • DefaultExtensionDependency

        public DefaultExtensionDependency​(String id,
                                          VersionConstraint versionConstraint,
                                          Map<String,​Object> properties)
        Parameters:
        id - the id of the extension dependency
        versionConstraint - the version constraint of the extension dependency
        properties - the custom properties of the extension dependency
      • DefaultExtensionDependency

        public DefaultExtensionDependency​(String id,
                                          VersionConstraint versionConstraint,
                                          boolean optional,
                                          Map<String,​Object> properties)
        Parameters:
        id - the id of the extension dependency
        versionConstraint - the version constraint of the extension dependency
        optional - true if the dependency is optional
        properties - the custom properties of the extension dependency
        Since:
        9.6RC1
      • DefaultExtensionDependency

        public DefaultExtensionDependency​(ExtensionDependency dependency)
        Create new instance by cloning the provided one.
        Parameters:
        dependency - the extension dependency to copy
        Since:
        7.3M1
      • DefaultExtensionDependency

        public DefaultExtensionDependency​(ExtensionDependency dependency,
                                          VersionConstraint versionConstraint)
        Create new instance by cloning the provided one with different version constraint.
        Parameters:
        dependency - the extension dependency to copy
        versionConstraint - the version constraint to set