Apache Ignite C++ Client
Loading...
Searching...
No Matches
ignite::deployment_unit Class Reference

#include <deployment_unit.h>

Public Member Functions

 deployment_unit (std::string name, std::string version=LATEST_VERSION)
const std::string & get_name () const
void set_name (const std::string &name)
const std::string & get_version () const
void set_version (const std::string &version)

Static Public Attributes

static const std::string LATEST_VERSION {"latest"}

Detailed Description

Deployment unit identifier.

Constructor & Destructor Documentation

◆ deployment_unit()

ignite::deployment_unit::deployment_unit ( std::string name,
std::string version = LATEST_VERSION )
inline

Constructor.

Parameters
nameUnit name.
versionUnit version. Defaults to LATEST_VERSION.

Member Function Documentation

◆ get_name()

const std::string & ignite::deployment_unit::get_name ( ) const
inlinenodiscard

Get name.

Returns
Unit name.

◆ get_version()

const std::string & ignite::deployment_unit::get_version ( ) const
inlinenodiscard

Get version.

Returns
Unit version.

◆ set_name()

void ignite::deployment_unit::set_name ( const std::string & name)
inline

Set name.

Parameters
nameUnit name to set.

◆ set_version()

void ignite::deployment_unit::set_version ( const std::string & version)
inline

Set version.

Parameters
versionUnit version to set.

The documentation for this class was generated from the following file: