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

com.liferay.jenkins.results.parser.ParentBuild Maven / Gradle / Ivy

The newest version!
/**
 * SPDX-FileCopyrightText: (c) 2023 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

package com.liferay.jenkins.results.parser;

import java.util.List;
import java.util.Map;

/**
 * @author Michael Hashimoto
 */
public interface ParentBuild extends Build {

	public void addDownstreamBuilds(Map urlAxisNames);

	public void addDownstreamBuilds(String... urls);

	public int getDownstreamBuildCount(String status);

	public int getDownstreamBuildCount(String result, String status);

	public List getDownstreamBuilds();

	public List getDownstreamBuilds(String status);

	public List getDownstreamBuilds(String result, String status);

	public Long getLatestStartTimestamp();

	public Build getLongestDelayedDownstreamBuild();

	public Build getLongestRunningDownstreamBuild();

	public List getModifiedDownstreamBuilds();

	public List getModifiedDownstreamBuildsByStatus(String status);

	public long getTotalDuration();

	public int getTotalSlavesUsedCount();

	public int getTotalSlavesUsedCount(
		String status, boolean modifiedBuildsOnly);

	public int getTotalSlavesUsedCount(
		String status, boolean modifiedBuildsOnly, boolean ignoreCurrentBuild);

	public boolean hasModifiedDownstreamBuilds();

	public void removeDownstreamBuild(Build build);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy