Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.uberfire.workbench.events;
 
 import java.util.Map;
 
import static org.uberfire.commons.validation.PortablePreconditions.*;

An Event indicating a various changes to various Resources
public class ResourceBatchChangesEvent implements UberFireEvent {
    private String message;
    private SessionInfo sessionInfo;
    public ResourceBatchChangesEvent() {
        //Empty constructor for Errai marshalling
    }
    public ResourceBatchChangesEventfinal Map<PathCollection<ResourceChange>> batch,
                                      final String message,
                                      final SessionInfo sessionInfo ) {
        checkNotNull"batch"batch );
        this..putAllbatch );
        this. = message;
        this. = checkNotNull"sessionInfo"sessionInfo );
    }
    public Map<PathCollection<ResourceChange>> getBatch() {
        return this.;
    }
    public boolean containPathfinal Path path ) {
        return .containsKeypath );
    }
    public Collection<PathgetAffectedPaths() {
        return .keySet();
    }
    public Collection<ResourceChangegetChangesfinal Path path ) {
        return .getpath );
    }
    public SessionInfo getSessionInfo() {
        return ;
    }
    public String getMessage() {
        return ;
    }
    @Override
    public String toString() {
        return "ResourceBatchChangesEvent [sessionInfo=" +  + ", batch=" +  + "]";
    }
New to GrepCode? Check out our FAQ X