com.liferay.jenkins.results.parser.BuildData 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
/**
* SPDX-FileCopyrightText: (c) 2000 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.io.File;
import java.util.Map;
import org.json.JSONObject;
/**
* @author Michael Hashimoto
*/
public interface BuildData {
public static final File DIR_WORKSPACE_DEFAULT = new File(".");
public static final String FILE_PATH_DIST_ROOT = "/tmp/dist";
public static final String URL_JENKINS_GITHUB_DEFAULT =
"https://github.com/liferay/liferay-jenkins-ee/tree/master";
public File getArtifactDir();
public String getBuildDescription();
public Long getBuildDuration();
public String getBuildDurationString();
public Integer getBuildNumber();
public String getBuildParameter(String key);
public Map getBuildParameters();
public String getBuildResult();
public String getBuildStatus();
public String getBuildURL();
public String getCohortName();
public Host getHost();
public String getHostname();
public String getJenkinsGitHubBranchName();
public String getJenkinsGitHubRepositoryName();
public String getJenkinsGitHubURL();
public String getJenkinsGitHubUsername();
public String getJobName();
public String getJobURL();
public JSONObject getJSONObject();
public String getMasterHostname();
public String getRunID();
public Long getStartTime();
public String getStartTimeString();
public TopLevelBuildData getTopLevelBuildData();
public Integer getTopLevelBuildNumber();
public Map getTopLevelBuildParameters();
public String getTopLevelJobName();
public String getTopLevelMasterHostname();
public String getTopLevelRunID();
public String getUserContentRelativePath();
public File getWorkspaceDir();
public void setBuildDescription(String buildDescription);
public void setBuildDuration(Long buildDuration);
public void setBuildResult(String buildResult);
public void setBuildStatus(String buildStatus);
public void setBuildURL(String buildURL);
public void setInvocationTime(Long invocationTime);
public void setJenkinsGitHubURL(String jenkinsGitHubURL);
public void setWorkspaceDir(File workspaceDir);
}