org.apache.ignite.mesos.resource

## Class IgniteProvider

- java.lang.Object
- - org.apache.ignite.mesos.resource.IgniteProvider

-     public class IgniteProvider
      extends Object

  Class downloads and stores Ignite.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IgniteProvider(String downloadFolder)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `downloadIgnite(String ver)`
    `String` | `getIgnite(String ver)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### IgniteProvider

          public IgniteProvider(String downloadFolder)

      Parameters:
        `downloadFolder` - Folder with ignite.

  - ### Method Detail

    - #### getIgnite

          public String getIgnite(String ver)
                           throws IOException

      Parameters:
        `ver` - Ignite version.
      Returns:
        Path to latest ignite.
      Throws:
        `IOException` - If downloading failed.

    - #### downloadIgnite

          public String downloadIgnite(String ver)
                                throws IOException

      Parameters:
        `ver` - Ignite version which will be downloaded. If `null` will download the latest ignite version.
      Returns:
        Ignite archive.
      Throws:
        `IOException` - If downloading failed.

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.13.0
Release Date | : April 20 2022