Index

A C E G I L N O S U W _ 
All Classes and Interfaces|All Packages|Serialized Form

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.
CommandCommandRuntimeException(String, Undoable) - Constructor for exception org.refcodes.command.CommandRuntimeException.CommandCommandRuntimeException
CommandCommandRuntimeException(String, Undoable, String) - Constructor for exception org.refcodes.command.CommandRuntimeException.CommandCommandRuntimeException
CommandCommandRuntimeException(String, Undoable, Throwable) - Constructor for exception org.refcodes.command.CommandRuntimeException.CommandCommandRuntimeException
CommandCommandRuntimeException(String, Undoable, Throwable, String) - Constructor for exception org.refcodes.command.CommandRuntimeException.CommandCommandRuntimeException
CommandCommandRuntimeException(Undoable, Throwable) - Constructor for exception org.refcodes.command.CommandRuntimeException.CommandCommandRuntimeException
CommandCommandRuntimeException(Undoable, Throwable, String) - Constructor for exception org.refcodes.command.CommandRuntimeException.CommandCommandRuntimeException
CommandRuntimeException - Exception in org.refcodes.command
CommandRuntimeException(String) - Constructor for exception org.refcodes.command.CommandRuntimeException
CommandRuntimeException(String, String) - Constructor for exception org.refcodes.command.CommandRuntimeException
CommandRuntimeException(String, Throwable) - Constructor for exception org.refcodes.command.CommandRuntimeException
CommandRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.command.CommandRuntimeException
CommandRuntimeException(Throwable) - Constructor for exception org.refcodes.command.CommandRuntimeException
CommandRuntimeException(Throwable, String) - Constructor for exception org.refcodes.command.CommandRuntimeException
CommandRuntimeException.CommandCommandRuntimeException - Exception in org.refcodes.command

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.
getPatternArguments() - Method in exception org.refcodes.command.CommandRuntimeException.CommandCommandRuntimeException
getUndoable() - Method in exception org.refcodes.command.CommandRuntimeException.CommandCommandRuntimeException
Retrieves the undoable from the undoable 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
NoExceptionAvailableRuntimeException(String, Undoable<?, ?, ?>) - Constructor for exception org.refcodes.command.NoExceptionAvailableRuntimeException
NoExceptionAvailableRuntimeException(String, Undoable<?, ?, ?>, String) - Constructor for exception org.refcodes.command.NoExceptionAvailableRuntimeException
NoExceptionAvailableRuntimeException(String, Undoable<?, ?, ?>, Throwable) - Constructor for exception org.refcodes.command.NoExceptionAvailableRuntimeException
NoExceptionAvailableRuntimeException(String, Undoable<?, ?, ?>, Throwable, String) - Constructor for exception org.refcodes.command.NoExceptionAvailableRuntimeException
NoExceptionAvailableRuntimeException(Throwable, Undoable<?, ?, ?>, String) - Constructor for exception org.refcodes.command.NoExceptionAvailableRuntimeException
NoExceptionAvailableRuntimeException(Undoable<?, ?, ?>, Throwable) - Constructor for exception org.refcodes.command.NoExceptionAvailableRuntimeException
NoResultAvailableRuntimeException - Exception in org.refcodes.command
NoResultAvailableRuntimeException(String, Undoable<?, ?, ?>) - Constructor for exception org.refcodes.command.NoResultAvailableRuntimeException
NoResultAvailableRuntimeException(String, Undoable<?, ?, ?>, String) - Constructor for exception org.refcodes.command.NoResultAvailableRuntimeException
NoResultAvailableRuntimeException(String, Undoable<?, ?, ?>, Throwable) - Constructor for exception org.refcodes.command.NoResultAvailableRuntimeException
NoResultAvailableRuntimeException(String, Undoable<?, ?, ?>, Throwable, String) - Constructor for exception org.refcodes.command.NoResultAvailableRuntimeException
NoResultAvailableRuntimeException(Undoable<?, ?, ?>, Throwable) - Constructor for exception org.refcodes.command.NoResultAvailableRuntimeException
NoResultAvailableRuntimeException(Undoable<?, ?, ?>, Throwable, String) - Constructor for exception org.refcodes.command.NoResultAvailableRuntimeException
NotUndoableRuntimeException - Exception in org.refcodes.command
NotUndoableRuntimeException(String, Undoable<?, ?, ?>) - Constructor for exception org.refcodes.command.NotUndoableRuntimeException
NotUndoableRuntimeException(String, Undoable<?, ?, ?>, String) - Constructor for exception org.refcodes.command.NotUndoableRuntimeException
NotUndoableRuntimeException(String, Undoable<?, ?, ?>, Throwable) - Constructor for exception org.refcodes.command.NotUndoableRuntimeException
NotUndoableRuntimeException(String, Undoable<?, ?, ?>, Throwable, String) - Constructor for exception org.refcodes.command.NotUndoableRuntimeException
NotUndoableRuntimeException(Undoable<?, ?, ?>, Throwable) - Constructor for exception org.refcodes.command.NotUndoableRuntimeException
NotUndoableRuntimeException(Undoable<?, ?, ?>, Throwable, String) - Constructor for exception org.refcodes.command.NotUndoableRuntimeException
NotYetExecutedRuntimeException - Exception in org.refcodes.command
NotYetExecutedRuntimeException(String, Undoable<?, ?, ?>) - Constructor for exception org.refcodes.command.NotYetExecutedRuntimeException
NotYetExecutedRuntimeException(String, Undoable<?, ?, ?>, String) - Constructor for exception org.refcodes.command.NotYetExecutedRuntimeException
NotYetExecutedRuntimeException(String, Undoable<?, ?, ?>, Throwable) - Constructor for exception org.refcodes.command.NotYetExecutedRuntimeException
NotYetExecutedRuntimeException(String, Undoable<?, ?, ?>, Throwable, String) - Constructor for exception org.refcodes.command.NotYetExecutedRuntimeException
NotYetExecutedRuntimeException(Undoable<?, ?, ?>, Throwable) - Constructor for exception org.refcodes.command.NotYetExecutedRuntimeException
NotYetExecutedRuntimeException(Undoable<?, ?, ?>, Throwable, String) - Constructor for exception org.refcodes.command.NotYetExecutedRuntimeException

O

org.refcodes.command - module org.refcodes.command
 
org.refcodes.command - package org.refcodes.command
This artifact provides you 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.

_

_command - Variable in exception org.refcodes.command.CommandRuntimeException.CommandCommandRuntimeException
 
A C E G I L N O S U W _ 
All Classes and Interfaces|All Packages|Serialized Form