A C E G I N O S U W
A
- AbstractCommand<CTX,RET,E extends java.lang.Exception> - Class in org.refcodes.command
-
The
AbstractCommand
implements theUndoable
interface. - AbstractCommand() - Constructor for class org.refcodes.command.AbstractCommand
- AbstractUndoable<CTX,RET,E extends java.lang.Exception> - Class in org.refcodes.command
-
The
AbstractUndoable
implements theUndoable
interface. - AbstractUndoable() - Constructor for class org.refcodes.command.AbstractUndoable
C
- Command<CTX,RET,E extends java.lang.Exception> - Interface in org.refcodes.command
- CommandAccessor<CTX,R,E extends java.lang.Exception> - Interface in org.refcodes.command
-
Provides an accessor for a command property.
- CommandAccessor.CommandBuilder<CTX,R,E extends java.lang.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 java.lang.Exception> - Interface in org.refcodes.command
-
Provides a mutator for a command property.
- CommandAccessor.CommandProperty<CTX,R,E extends java.lang.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, aComponent
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, aComponent
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.
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 - 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 java.lang.Exception> - Interface in org.refcodes.command
- UndoableAccessor<CTX,R,E extends java.lang.Exception> - Interface in org.refcodes.command
-
Provides an accessor for a command property.
- UndoableAccessor.UndoableBuilder<CTX,R,E extends java.lang.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 java.lang.Exception> - Interface in org.refcodes.command
-
Provides a mutator for a undoable property.
- UndoableAccessor.UndoableProperty<CTX,R,E extends java.lang.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 java.lang.Exception> - Interface in org.refcodes.command
- WorkerAccessor<CTX,E extends java.lang.Exception> - Interface in org.refcodes.command
-
Provides an accessor for a command property.
- WorkerAccessor.WorkerBuilder<CTX,E extends java.lang.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 java.lang.Exception> - Interface in org.refcodes.command
-
Provides a mutator for a worker property.
- WorkerAccessor.WorkerProperty<CTX,E extends java.lang.Exception> - Interface in org.refcodes.command
-
Provides a worker property.