icinga2/cib/servicegroup.h

25 lines
459 B
C
Raw Normal View History

2012-07-01 13:08:07 +02:00
#ifndef SERVICEGROUP_H
#define SERVICEGROUP_H
namespace icinga
{
2012-07-02 19:09:45 +02:00
class I2_CIB_API ServiceGroup : public ConfigObjectAdapter
2012-07-01 13:08:07 +02:00
{
public:
ServiceGroup(const ConfigObject::Ptr& configObject)
: ConfigObjectAdapter(configObject)
{ }
static bool Exists(const string& name);
static ServiceGroup GetByName(const string& name);
string GetAlias(void) const;
string GetNotesUrl(void) const;
string GetActionUrl(void) const;
};
}
#endif /* SERVICEGROUP_H */