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 copied
public class ResourceCopiedEvent extends ResourceCopied implements ResourceEvent {
    private Path sourcePath;
    private SessionInfo sessionInfo;
    public ResourceCopiedEvent() {
    }
    public ResourceCopiedEventfinal 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 "ResourceCopiedEvent{" +
                "sourcePath=" +  +
                ", destinationPath=" + getDestinationPath() +
                ", message=" + getMessage() +
                ", sessionInfo=" +  +
                '}';
    }
New to GrepCode? Check out our FAQ X