Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.uberfire.workbench.events;
 
 import static org.uberfire.commons.validation.PortablePreconditions.checkNotNull;
 
An Event indicating a Resource has been deleted
public class ResourceDeletedEvent extends ResourceDeleted implements ResourceEvent {
    private Path path;
    private SessionInfo sessionInfo;
    public ResourceDeletedEvent() {
        //Empty constructor for Errai marshalling
    }
    public ResourceDeletedEventfinal Path path,
                                 final SessionInfo sessionInfo ) {
        this. = checkNotNull"path"path );
        this. = checkNotNull"executedBy"sessionInfo );
    }
    @Override
    public Path getPath() {
        return this.;
    }
    public SessionInfo getSessionInfo() {
        return ;
    }
    @Override
    public String toString() {
      return "ResourceDeletedEvent [path=" +  + ", sessionInfo=" +  + "]";
    }
New to GrepCode? Check out our FAQ X