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 renamed
public class ResourceRenamedEvent extends ResourceRenamed implements ResourceEvent {
    private Path sourcePath;
    private SessionInfo sessionInfo;
    public ResourceRenamedEvent() {
        //Empty constructor for Errai marshalling
    }
    public ResourceRenamedEventfinal Path sourcePath,
                                 final Path destinationPath,
                                 final String message,
                                 final SessionInfo sessionInfo ) {
        superdestinationPathmessage );
        this. = checkNotNull"sourcePath"sourcePath );
        this. = checkNotNull"sessionInfo"sessionInfo );
    }
    public SessionInfo getSessionInfo() {
        return ;
    }
    @Override
    public Path getPath() {
        return this.;
    }
    @Override
    public String toString() {
        return "ResourceRenamedEvent [sourcePath=" +  + ", sessionInfo=" +  + "]";
    }
New to GrepCode? Check out our FAQ X