A C E G I L N O S U W 
All Classes All Packages

A

AbstractCommand<CTX,​RET,​E extends Exception> - Class in org.refcodes.command
The AbstractCommand implements the Undoable interface.
AbstractCommand() - Constructor for class org.refcodes.command.AbstractCommand
 
AbstractUndoable<CTX,​RET,​E extends Exception> - Class in org.refcodes.command
The AbstractUndoable implements the Undoable interface.
AbstractUndoable() - Constructor for class org.refcodes.command.AbstractUndoable
 

C

Command<CTX,​RET,​E extends Exception> - Interface in org.refcodes.command
A Command (Command) represents an (atomic) operation applied to a context returning a result encapsulated in an object (as of object oriented programming).
CommandAccessor<CTX,​R,​E extends Exception> - Interface in org.refcodes.command
Provides an accessor for a command property.
CommandAccessor.CommandBuilder<CTX,​R,​E extends Exception,​B extends CommandAccessor.CommandBuilder<CTX,​R,​E,​B>> - Interface in org.refcodes.command
Provides a builder method for a name property returning the builder for applying multiple build operations.
CommandAccessor.CommandMutator<CTX,​R,​E extends Exception> - Interface in org.refcodes.command
Provides a mutator for a command property.
CommandAccessor.CommandProperty<CTX,​R,​E extends Exception> - Interface in org.refcodes.command
Provides a command property.
CommandRuntimeException - Exception in org.refcodes.command
The Class CommandRuntimeException.
CommandRuntimeException(String) - Constructor for exception org.refcodes.command.CommandRuntimeException
Instantiates a new command runtime exception.
CommandRuntimeException(String, String) - Constructor for exception org.refcodes.command.CommandRuntimeException
Instantiates a new command runtime exception.
CommandRuntimeException(String, Throwable) - Constructor for exception org.refcodes.command.CommandRuntimeException
Instantiates a new command runtime exception.
CommandRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.command.CommandRuntimeException
Instantiates a new command runtime exception.
CommandRuntimeException(Throwable) - Constructor for exception org.refcodes.command.CommandRuntimeException
Instantiates a new command runtime exception.
CommandRuntimeException(Throwable, String) - Constructor for exception org.refcodes.command.CommandRuntimeException
Instantiates a new command runtime exception.

E

execute(CTX) - Method in interface org.refcodes.command.Command
The invoker executes a Command by providing it a context (being a service, a Component or a POJO).
execute(CTX) - Method in interface org.refcodes.command.Worker
The invoker executes a Worker by providing it a context (being a service, a Component or a POJO).

G

getCommand() - Method in interface org.refcodes.command.CommandAccessor
Retrieves the command from the command property.
getUndoable() - Method in interface org.refcodes.command.UndoableAccessor
Retrieves the undoable from the undoable property.
getWorker() - Method in interface org.refcodes.command.WorkerAccessor
Retrieves the worker from the worker property.

I

isUndoable(CTX) - Method in class org.refcodes.command.AbstractUndoable
This method determines whether the Undoable can undo the work it has done.
isUndoable(CTX) - Method in interface org.refcodes.command.Undoable
This method determines whether the Undoable can undo the work it has done.

L

letCommand(Command<CTX, R, E>) - Method in interface org.refcodes.command.CommandAccessor.CommandProperty
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given Command (setter) as of CommandAccessor.CommandMutator.setCommand(Command) and returns the very same value (getter).
letUndoable(Undoable<CTX, R, E>) - Method in interface org.refcodes.command.UndoableAccessor.UndoableProperty
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given Undoable (setter) as of UndoableAccessor.UndoableMutator.setUndoable(Undoable) and returns the very same value (getter).
letWorker(Worker<CTX, E>) - Method in interface org.refcodes.command.WorkerAccessor.WorkerProperty
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given Worker (setter) as of WorkerAccessor.WorkerMutator.setWorker(Worker) and returns the very same value (getter).

N

NoExceptionAvailableRuntimeException - Exception in org.refcodes.command
The Class NoExceptionAvailableRuntimeException.
NoExceptionAvailableRuntimeException(Undoable<?, ?, ?>, String) - Constructor for exception org.refcodes.command.NoExceptionAvailableRuntimeException
Instantiates a new no exception available runtime exception.
NoExceptionAvailableRuntimeException(Undoable<?, ?, ?>, String, String) - Constructor for exception org.refcodes.command.NoExceptionAvailableRuntimeException
Instantiates a new no exception available runtime exception.
NoExceptionAvailableRuntimeException(Undoable<?, ?, ?>, String, Throwable) - Constructor for exception org.refcodes.command.NoExceptionAvailableRuntimeException
Instantiates a new no exception available runtime exception.
NoExceptionAvailableRuntimeException(Undoable<?, ?, ?>, String, Throwable, String) - Constructor for exception org.refcodes.command.NoExceptionAvailableRuntimeException
Instantiates a new no exception available runtime exception.
NoExceptionAvailableRuntimeException(Undoable<?, ?, ?>, Throwable) - Constructor for exception org.refcodes.command.NoExceptionAvailableRuntimeException
Instantiates a new no exception available runtime exception.
NoExceptionAvailableRuntimeException(Undoable<?, ?, ?>, Throwable, String) - Constructor for exception org.refcodes.command.NoExceptionAvailableRuntimeException
Instantiates a new no exception available runtime exception.
NoResultAvailableRuntimeException - Exception in org.refcodes.command
The Class NoResultAvailableRuntimeException.
NoResultAvailableRuntimeException(Undoable<?, ?, ?>, String) - Constructor for exception org.refcodes.command.NoResultAvailableRuntimeException
Instantiates a new no result available runtime exception.
NoResultAvailableRuntimeException(Undoable<?, ?, ?>, String, String) - Constructor for exception org.refcodes.command.NoResultAvailableRuntimeException
Instantiates a new no result available runtime exception.
NoResultAvailableRuntimeException(Undoable<?, ?, ?>, String, Throwable) - Constructor for exception org.refcodes.command.NoResultAvailableRuntimeException
Instantiates a new no result available runtime exception.
NoResultAvailableRuntimeException(Undoable<?, ?, ?>, String, Throwable, String) - Constructor for exception org.refcodes.command.NoResultAvailableRuntimeException
Instantiates a new no result available runtime exception.
NoResultAvailableRuntimeException(Undoable<?, ?, ?>, Throwable) - Constructor for exception org.refcodes.command.NoResultAvailableRuntimeException
Instantiates a new no result available runtime exception.
NoResultAvailableRuntimeException(Undoable<?, ?, ?>, Throwable, String) - Constructor for exception org.refcodes.command.NoResultAvailableRuntimeException
Instantiates a new no result available runtime exception.
NotUndoableRuntimeException - Exception in org.refcodes.command
The Class NotUndoableRuntimeException.
NotUndoableRuntimeException(Undoable<?, ?, ?>, String) - Constructor for exception org.refcodes.command.NotUndoableRuntimeException
Instantiates a new not undoable runtime exception.
NotUndoableRuntimeException(Undoable<?, ?, ?>, String, String) - Constructor for exception org.refcodes.command.NotUndoableRuntimeException
Instantiates a new not undoable runtime exception.
NotUndoableRuntimeException(Undoable<?, ?, ?>, String, Throwable) - Constructor for exception org.refcodes.command.NotUndoableRuntimeException
Instantiates a new not undoable runtime exception.
NotUndoableRuntimeException(Undoable<?, ?, ?>, String, Throwable, String) - Constructor for exception org.refcodes.command.NotUndoableRuntimeException
Instantiates a new not undoable runtime exception.
NotUndoableRuntimeException(Undoable<?, ?, ?>, Throwable) - Constructor for exception org.refcodes.command.NotUndoableRuntimeException
Instantiates a new not undoable runtime exception.
NotUndoableRuntimeException(Undoable<?, ?, ?>, Throwable, String) - Constructor for exception org.refcodes.command.NotUndoableRuntimeException
Instantiates a new not undoable runtime exception.
NotYetExecutedRuntimeException - Exception in org.refcodes.command
The Class NotYetExecutedRuntimeException.
NotYetExecutedRuntimeException(Undoable<?, ?, ?>, String) - Constructor for exception org.refcodes.command.NotYetExecutedRuntimeException
Instantiates a new not yet executed runtime exception.
NotYetExecutedRuntimeException(Undoable<?, ?, ?>, String, String) - Constructor for exception org.refcodes.command.NotYetExecutedRuntimeException
Instantiates a new not yet executed runtime exception.
NotYetExecutedRuntimeException(Undoable<?, ?, ?>, String, Throwable) - Constructor for exception org.refcodes.command.NotYetExecutedRuntimeException
Instantiates a new not yet executed runtime exception.
NotYetExecutedRuntimeException(Undoable<?, ?, ?>, String, Throwable, String) - Constructor for exception org.refcodes.command.NotYetExecutedRuntimeException
Instantiates a new not yet executed runtime exception.
NotYetExecutedRuntimeException(Undoable<?, ?, ?>, Throwable) - Constructor for exception org.refcodes.command.NotYetExecutedRuntimeException
Instantiates a new not yet executed runtime exception.
NotYetExecutedRuntimeException(Undoable<?, ?, ?>, Throwable, String) - Constructor for exception org.refcodes.command.NotYetExecutedRuntimeException
Instantiates a new not yet executed runtime exception.

O

org.refcodes.command - module org.refcodes.command
 
org.refcodes.command - package org.refcodes.command
This package provides means to implement your custom commands as of the command pattern:

S

setCommand(Command<CTX, R, E>) - Method in interface org.refcodes.command.CommandAccessor.CommandMutator
Sets the command for the command property.
setUndoable(Undoable<CTX, R, E>) - Method in interface org.refcodes.command.UndoableAccessor.UndoableMutator
Sets the undoable for the undoable property.
setWorker(Worker<CTX, E>) - Method in interface org.refcodes.command.WorkerAccessor.WorkerMutator
Sets the worker for the worker property.

U

undo(CTX) - Method in class org.refcodes.command.AbstractUndoable
This method tries to undo the Undoable in case it was successfully executed.
undo(CTX) - Method in interface org.refcodes.command.Undoable
This method tries to undo the Undoable in case it was successfully executed.
Undoable<CTX,​RET,​E extends Exception> - Interface in org.refcodes.command
An Undoable is a Command) which also provides means to undo its operation applied before.
UndoableAccessor<CTX,​R,​E extends Exception> - Interface in org.refcodes.command
Provides an accessor for a command property.
UndoableAccessor.UndoableBuilder<CTX,​R,​E extends Exception,​B extends UndoableAccessor.UndoableBuilder<CTX,​R,​E,​B>> - Interface in org.refcodes.command
Provides a builder method for a name property returning the builder for applying multiple build operations.
UndoableAccessor.UndoableMutator<CTX,​R,​E extends Exception> - Interface in org.refcodes.command
Provides a mutator for a undoable property.
UndoableAccessor.UndoableProperty<CTX,​R,​E extends Exception> - Interface in org.refcodes.command
Provides a undoable property.

W

withCommand(Command<CTX, R, E>) - Method in interface org.refcodes.command.CommandAccessor.CommandBuilder
Sets the command for the command property.
withUndoable(Undoable<CTX, R, E>) - Method in interface org.refcodes.command.UndoableAccessor.UndoableBuilder
Sets the undoable for the undoable property.
withWorker(Worker<CTX, E>) - Method in interface org.refcodes.command.WorkerAccessor.WorkerBuilder
Sets the worker for the worker property.
Worker<CTX,​E extends Exception> - Interface in org.refcodes.command
A Worker represents an (atomic) operation applied to a context and (in contrast to a Command) not returning any result, all of which encapsulated in an object (as of object oriented programming).
WorkerAccessor<CTX,​E extends Exception> - Interface in org.refcodes.command
Provides an accessor for a command property.
WorkerAccessor.WorkerBuilder<CTX,​E extends Exception,​B extends WorkerAccessor.WorkerBuilder<CTX,​E,​B>> - Interface in org.refcodes.command
Provides a builder method for a name property returning the builder for applying multiple build operations.
WorkerAccessor.WorkerMutator<CTX,​E extends Exception> - Interface in org.refcodes.command
Provides a mutator for a worker property.
WorkerAccessor.WorkerProperty<CTX,​E extends Exception> - Interface in org.refcodes.command
Provides a worker property.
A C E G I L N O S U W 
All Classes All Packages