Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.kie.workbench.common.services.datamodel.backend.server;
 
 
 import  org.guvnor.common.services.project.builder.model.BuildResults;
 import  org.guvnor.common.services.project.builder.model.IncrementalBuildResults;

Test Observer for Build events
public class BuildResultsObserver {
    private BuildResults buildResults;
    private IncrementalBuildResults incrementalBuildResults;
    public void onBuildResultsfinal @Observes BuildResults results ) {
        this. = results;
    }
    public void onIncrementalBuildResultsfinal @Observes IncrementalBuildResults results ) {
        this. = results;
    }
    public BuildResults getBuildResults() {
        return ;
    }
    public IncrementalBuildResults getIncrementalBuildResults() {
        return ;
    }
New to GrepCode? Check out our FAQ X