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 deleted
public class ResourceDeletedEvent extends ResourceDeleted implements ResourceEvent {
    private Path path;
    private SessionInfo sessionInfo;
    public ResourceDeletedEvent() {
    }
    public ResourceDeletedEventfinal Path path,
                                 final String message,
                                 final SessionInfo sessionInfo ) {
        supermessage );
        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=" +  +
                ", message=" + getMessage() +
                ", sessionInfo=" +  +
                '}';
    }
New to GrepCode? Check out our FAQ X