com.openshift.restclient.model.build.ISourceBuildStrategy Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* 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.build;
import java.util.Collection;
import java.util.Map;
import com.openshift.restclient.images.DockerImageURI;
import com.openshift.restclient.model.IEnvironmentVariable;
public interface ISourceBuildStrategy extends IBuildStrategy {
/**
* Returns the Builder Image used to execute the build
*/
DockerImageURI getImage();
void setImage(DockerImageURI image);
String getFromKind();
void setFromKind(String kind);
String getFromNamespace();
void setFromNamespace(String namespace);
String getScriptsLocation();
void setScriptsLocation(String location);
Map getEnvironmentVariables();
void setEnvironmentVariables(Map envVars);
Collection getEnvVars();
/**
* Setting using a null collection will early return without modification to the
* strategy
*
*/
void setEnvVars(Collection envVars);
boolean incremental();
void setIncremental(boolean isIncremental);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy