Example usage for com.amazonaws.services.codebuild.model Build getPhases

List of usage examples for com.amazonaws.services.codebuild.model Build getPhases

Introduction

In this page you can find the example usage for com.amazonaws.services.codebuild.model Build getPhases.

Prototype


public java.util.List<BuildPhase> getPhases() 

Source Link

Document

Information about all previous build phases that are complete and information about any current build phase that is not yet complete.

Usage

From source file:CodeBuilder.java

License:Open Source License

private void updateDashboard(Build b) {
    if (action != null) {
        action.setCurrentStatus(b.getBuildStatus());
        action.setLogs(logMonitor.getLatestLogs());
        action.setPhases(b.getPhases());
        logMonitor.setLogsLocation(b.getLogs());
        if (logMonitor.getLogsLocation() != null) {
            action.setLogURL(logMonitor.getLogsLocation().getDeepLink());
        }/*www.j a  v  a  2 s.c om*/
    }
}