io.hyscale.controller.model.HyscaleInputSpec Maven / Gradle / Ivy
The newest version!
/**
* Copyright 2019 Pramati Prism, Inc.
*
* 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.
*/
package io.hyscale.controller.model;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
public class HyscaleInputSpec {
private List serviceSpecFiles;
private List profileFiles;
public List getServiceSpecFiles() {
return serviceSpecFiles;
}
public void setServiceSpecFiles(List serviceSpecFiles) {
this.serviceSpecFiles = serviceSpecFiles;
}
public void addServiceSpecFile(File serviceSpecFile) {
if (serviceSpecFiles == null) {
serviceSpecFiles = new ArrayList();
}
serviceSpecFiles.add(serviceSpecFile);
}
public List getProfileFiles() {
return profileFiles;
}
public void setProfileFiles(List profileFiles) {
this.profileFiles = profileFiles;
}
public void addProfileFile(File profileFile) {
if (profileFiles == null) {
profileFiles = new ArrayList();
}
profileFiles.add(profileFile);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy