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

com.openshift.restclient.model.deploy.IDeploymentImageChangeTrigger Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (c) 2015 Red Hat, Inc.
 * Distributed under license by Red Hat, Inc. All rights reserved.
 * This program is made available under the terms of the
 * Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Red Hat, Inc. - initial API and implementation
 ******************************************************************************/
package com.openshift.restclient.model.deploy;

import java.util.Collection;

import com.openshift.restclient.images.DockerImageURI;

/**
 * 
 * @author jeff.cantrill
 *
 */
public interface IDeploymentImageChangeTrigger extends IDeploymentTrigger {

	/**
	 * Returns the name of the docker image repo to watch
	 * @return
	 */
	DockerImageURI getFrom();
	
	void setFrom(DockerImageURI fromImage);
	
	boolean isAutomatic();
	
	void setAutomatic(boolean auto);
	
	/**
	 * The container names for this trigger
	 * @return
	 */
	Collection getContainerNames();
	
	void setContainerNames(Collection names);

	/**
	 * Convenience method for setting
	 * a single container name
	 * @param names
	 */
	void setContainerName(String names);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy