All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.cinovo.cloudconductor.api.model.ServiceDefaultState Maven / Gradle / Ivy

There is a newer version: 3.12
Show newest version
package de.cinovo.cloudconductor.api.model;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeInfo.Id;
import de.cinovo.cloudconductor.api.enums.ServiceState;

/**
 * Copyright 2018 Cinovo AG
*
* * @author mweise * */ @JsonTypeInfo(use = Id.CLASS) public class ServiceDefaultState { private String service; private String template; private ServiceState state = ServiceState.STOPPED; /** default constructor */ public ServiceDefaultState() { // nothing to do } /** * @param template the name of the template * @param service the name of the service * @param state the default state */ public ServiceDefaultState(String template, String service, ServiceState state) { this.service = service; this.template = template; this.state = state; } /** * @return the service */ public String getService() { return this.service; } /** * @param service the service to set */ public void setService(String service) { this.service = service; } /** * @return the template */ public String getTemplate() { return this.template; } /** * @param template the template to set */ public void setTemplate(String template) { this.template = template; } /** * @return the defaultState */ public ServiceState getState() { return this.state; } /** * @param defaultState the defaultState to set */ public void setDefaultState(ServiceState defaultState) { this.state = defaultState; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy