de.cinovo.cloudconductor.api.model.ServiceStatesChanges Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudconductor-api Show documentation
Show all versions of cloudconductor-api Show documentation
Server to manage deployment environments
package de.cinovo.cloudconductor.api.model;
/*
* #%L
* cloudconductor-api
* %%
* Copyright (C) 2013 - 2014 Cinovo AG
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import java.util.Set;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Copyright 2013 Cinovo AG
*
* The response part of the service update interaction.
*
* @author mhilbert
*/
public class ServiceStatesChanges {
private Set toStart;
private Set toStop;
private Set toRestart;
@Deprecated
private Set configFiles;
/**
* @param configFiles the configFiles to set
*/
public void setConfigFiles(Set configFiles) {
this.configFiles = configFiles;
}
/**
* Class constructor.
*
* @param toStart a list of the init scripts of the services that need to be started
* @param toStop a list of the init scripts of the services that need to be stopped
* @param toRestart a list of the init scripts of the services that need to be restarted
*/
@JsonCreator
public ServiceStatesChanges(@JsonProperty("toStart") Set toStart, @JsonProperty("toStop") Set toStop, @JsonProperty("toRestart") Set toRestart) {
this.toStart = toStart;
this.toStop = toStop;
this.toRestart = toRestart;
}
/**
* @return the toStart
*/
public Set getToStart() {
return this.toStart;
}
/**
* @return the toStop
*/
public Set getToStop() {
return this.toStop;
}
/**
* @return the configFiles
*/
@Deprecated
public Set getConfigFiles() {
return this.configFiles;
}
/**
* @return the toRestart
*/
public Set getToRestart() {
return this.toRestart;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy