com.liferay.jenkins.results.parser.ParentBuild Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.jenkins.results.parser
Show all versions of com.liferay.jenkins.results.parser
Liferay Jenkins Results Parser
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);
}