com.jpattern.core.command.NullCommand Maven / Gradle / Ivy
package com.jpattern.core.command;
import com.jpattern.core.IProvider;
/**
*
* @author Francesco Cina'
*
* 27/feb/2011
*/
/**
* @author Francesco Cina'
*
* 27/feb/2011
*/
public class NullCommand extends ICommand {
private static final long serialVersionUID = 1L;
@Override
public ICommandResult exec(ICommandExecutor asyncCommandPool) {
return new CommandResult();
}
@Override
public ICommandResult exec() {
return new CommandResult();
}
@Override
public void visit(IProvider provider) {
}
@Override
void doGlobalRollback(ICommandResult previousRollbackResult) {
}
@Override
ICommandResult prepareCommandResult() {
return new CommandResult();
}
@Override
void doExec(ICommandExecutor aCommandExecutor, ICommandResult result) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy