Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

An Event indicating a Resource has been added
public class ResourceAddedEvent extends ResourceAdded implements ResourceEvent {
    private Path path;
    private SessionInfo sessionInfo;
    public ResourceAddedEvent() {
    }
    public ResourceAddedEventfinal Path path,
                               final String message,
                               final SessionInfo sessionInfo ) {
        supermessage );
        this. = checkNotNull"path"path );
        this. = checkNotNull"sessionInfo"sessionInfo );
    }
    @Override
    public Path getPath() {
        return this.;
    }
    public SessionInfo getSessionInfo() {
        return ;
    }
    @Override
    public String toString() {
        return "ResourceAddedEvent{" +
                "path=" +  +
                ", message=" + getMessage() +
                ", sessionInfo=" +  +
                '}';
    }
New to GrepCode? Check out our FAQ X