Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- Account - Class in org.logicmachine.rebl.integrationTests_6_bank.entities.active
-
The business object representing a current account.
- Account() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.entities.active.Account
-
Default constructor, creating an account with a balance of zero.
- ACCOUNT_STATE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Holds the key used to refer to the state machine associated with a customer bank account.
- AccountException - Exception Class in org.logicmachine.rebl.integrationTests_6_bank.exceptions
-
The exception wrapper used for all exceptions within the bank application.
- AccountException() - Constructor for exception class org.logicmachine.rebl.integrationTests_6_bank.exceptions.AccountException
-
Default constructor.
- AccountException(String) - Constructor for exception class org.logicmachine.rebl.integrationTests_6_bank.exceptions.AccountException
-
Constructor allowing an error message to be associated with this exception.
- AccountExceptionHandler - Class in org.logicmachine.rebl.integrationTests_6_bank.exceptions
-
Handles all exceptions generated within the bank application.
- AccountExceptionHandler() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.exceptions.AccountExceptionHandler
- AccountStates - Enum Class in org.logicmachine.rebl.integrationTests_6_bank.stateMachines
-
Defines the valid states of a bank account.
- AccountTransaction - Class in org.logicmachine.rebl.integrationTests_6_bank.actions
-
The business action associated with applying some type of transaction to a current account.
- AccountTransaction() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.actions.AccountTransaction
-
Default constructor, which also sets the transaction date to the current date/time.
- AccountTransaction(Number) - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.actions.AccountTransaction
-
Constructor creating a transaction action of the specified value.
- add(Number) - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.passive.Balance
-
Updates the current balance by adding on the specified 'amount' to the current balance.
- addDepartment(String) - Static method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Department
-
Allows a new department of the given name to be created.
- APPLY_ACCOUNT_SERVICE_CHARGE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
This Action allows a variable service charge to be applied to an account.
- APPLY_FIXED_SERVICE_CHARGE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
This Action allows a fixed service charge to be applied to an account.
- applyAccountFixedServiceCharge(Scope) - Method in class org.logicmachine.rebl.integrationTests_6_bank.components.BankCharges
-
Applies a standard fixed account fee.
- applyAccountServiceChargeValue(Scope, Number) - Method in class org.logicmachine.rebl.integrationTests_6_bank.components.BankCharges
-
Applies the specified account fee to this account.
- applyThisAction(Action) - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.active.Account
- applyThisTransaction(TransactionDetails) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.BankDataStoreResource
- ASSERT_BALANCE_EQUALS - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
This action asserts that the current account balance equals the specified value.
- assertBalanceEquals(Scope, Number) - Method in class org.logicmachine.rebl.integrationTests_6_bank.components.Assertions
-
Applies an assertion to verify the expected account balance.
- assertBalanceEquals(Scope, String, Number, String, Number) - Method in class org.logicmachine.rebl.integrationTests_6_bank.components.Assertions
-
Applies assertions to verify that the current account balance for each of the given customers match the expected values.
- Assertions - Class in org.logicmachine.rebl.integrationTests_6_bank.components
-
This class can be used to assert on the current account balance for a customer as part of an integration test run.
- Assertions() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.components.Assertions
B
- balance() - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.passive.Balance
-
Returns the string value of this balance, to the number of decimal places indicated by the current locale.
- Balance - Class in org.logicmachine.rebl.integrationTests_6_bank.entities.passive
-
The business object representing the current account balance for a bank customer.
- Balance() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.entities.passive.Balance
-
Default constructor, creating an initial balance of zero.
- Balance(Number) - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.entities.passive.Balance
-
Constructor creating a new balance instance initialised with the given value.
- BALANCE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Used to log the current account balance.
- Bank - Class in org.logicmachine.rebl.integrationTests_6_bank
-
This class contains all of the top-level business logic for a simple bank application.
- Bank() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.Bank
- BANK - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
The name of this language template.
- BANK_DATABASE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
The name of the database resource for this application.
- BankCharges - Class in org.logicmachine.rebl.integrationTests_6_bank.components
-
Holds a number of functional business operations associated with applying bank charges.
- BankCharges() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.components.BankCharges
- BankDataStoreResource - Class in org.logicmachine.rebl.integrationTests_6_bank.resources
-
Used to illustrate the operation of automatically closeable resources.
- BankDataStoreResource() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.resources.BankDataStoreResource
-
Default constructor.
- buildResources() - Static method in class org.logicmachine.rebl.integrationTests_6_bank.Bank
-
Creates a closeable bank resource, which would normally be something like a database, but which could equally be any collection of back-end systems such as queues, web-services or flat-files etc.
C
- calculatePayRise(Employee) - Static method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.CompanyTest
-
For the purpose of this example, we are assuming that every employee will be getting a 10% pay rise.
- call() - Method in class org.logicmachine.rebl.integrationTests_0_helloWorld.HelloWorldxample
-
Defines the actual business logic to be applied.
- call() - Method in class org.logicmachine.rebl.integrationTests_2_scope.ParallelScopeBlockExample
-
This method orchestrates the actual processing logic for this application.
- call() - Method in class org.logicmachine.rebl.integrationTests_2_scope.SequentialScopeBlockExample
-
This method orchestrates the actual processing logic for this application.
- call() - Method in class org.logicmachine.rebl.integrationTests_4_stateMachine.StateMachineApplication
-
This method contains the orchestration logic and processing loop for this application.
- call() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
This method holds the actual processing logic for this application.
- call() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.StateMachineExceptionHandlingApplication
-
This method contains the orchestration logic and processing loop for this application.
- call() - Method in class org.logicmachine.rebl.integrationTests_6_bank.Bank
-
Defines the business logic to be applied to the various business entities.
- canHandle() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase.MyExceptionHandler
-
Returns true if this exception handler has been triggered and was able to handle the triggering exception.
- Charge - Class in org.logicmachine.rebl.integrationTests_6_bank.actions
-
The business action associated with applying a charge to a current account.
- Charge() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.actions.Charge
-
Default constructor.
- Charge(Number) - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.actions.Charge
-
Constructor creating a charge action of the specified value.
- CHARGE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Name associated with an outer enclosing scope example.
- CLEAN_UP - Enum constant in enum class org.logicmachine.rebl.integrationTests_4_stateMachine.States
-
Clean-up prior to shutdown.
- CLEAN_UP - Enum constant in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Clean-up prior to shutdown.
- clear() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Clears all of the data associated with this class.
- CLOSED - Enum constant in enum class org.logicmachine.rebl.integrationTests_6_bank.stateMachines.AccountStates
-
The account has been closed and no further transactions are possible.
- closeResource() - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.BankDataStoreResource
- CLOSING_RESOURCE_LOG_MESSAGE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Log message generated when closing a resource associated with a scope isntance.
- Company - Class in org.logicmachine.rebl.integrationTests_1_entitiesAndActors
-
The business object representing one company.
- Company() - Constructor for class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Company
-
Default constructor.
- Company(String) - Constructor for class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Company
-
Constructor allowing the name of this company to be defined.
- CompanyTest - Class in org.logicmachine.rebl.integrationTests_1_entitiesAndActors
-
This class holds the integration tests illustrating the usage of actors, active entities and passive entities together with Actions.
- CompanyTest() - Constructor for class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.CompanyTest
- CompanyTest.GivePayRise - Class in org.logicmachine.rebl.integrationTests_1_entitiesAndActors
-
Provides an Action capable of applying a pay rise to the salary of an employee.
- COMPONENTS_PACKAGE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
All of the externalised functional components are located within these packages.
- ConfigValues - Class in org.logicmachine.rebl.integrationTests_6_bank
-
This class holds all of the application-specific configuration constants.
- create(Object, Object...) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.Table
-
Allows a new row of data to be added to this table.
- createDepartment(String) - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Company
-
Attempts to create a new department of the given name.
- createEmployee(String, String, Salary) - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Company
-
Attempts to create a new employee record using the supplied details.
- createEmployee(String, String, Salary) - Static method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Employee
-
Constructor allowing a new employee to be created.
- CURRENT_ACCOUNT - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Used as the key for this ActiveEntity instance.
- Customer - Class in org.logicmachine.rebl.integrationTests_6_bank.entities.owning
-
The business object representing a bank customer.
- Customer(String) - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.entities.owning.Customer
-
Constructor, creating a new instance for the named customer.
- CUSTOMER_1 - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
This example uses 2 test entities; this represents one such entity.
- CUSTOMER_2 - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
This example uses 2 test entities; this represents one such entity.
- CUSTOMER_ACCOUNT_BALANCE_FIELD - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.resources.BankDataStoreResource
-
The name of the field within the 'customer' table holding the account balance.
- CUSTOMER_KEY_FIELD - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.resources.BankDataStoreResource
-
The name of the key field within the 'customer' table, identifying a specific customer.
- CUSTOMER_TABLE_NAME - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.resources.BankDataStoreResource
-
The name of the database table holding customer details.
- CustomerInteraction - Class in org.logicmachine.rebl.integrationTests_6_bank.components
-
Holds functional business operations which are customer initiated.
- CustomerInteraction() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.components.CustomerInteraction
D
- delete(Object) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.Table
-
Deletes the row associated with the given 'key'.
- delete(Predicate) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.Table
-
Deletes the row(s) matching the given 'predicate'.
- DELETE_ACCOUNT_DETAILS - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
This action asserts that the current account balance equals the specified value.
- deletePersistedAccountBalance(Scope, String) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.PersistenceOperations
-
Deletes the specified customer account.
- Department - Class in org.logicmachine.rebl.integrationTests_1_entitiesAndActors
-
The business object representing a department within an organisation.
- Department() - Constructor for class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Department
- Deposit - Class in org.logicmachine.rebl.integrationTests_6_bank.actions
-
The business action associated with applying a deposit to a current account.
- Deposit() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.actions.Deposit
-
Default constructor.
- Deposit(Number) - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.actions.Deposit
-
Constructor creating a deposit action of the specified value.
- DEPOSIT - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Name associated with an outer enclosing scope example.
- DEPOSIT_AMOUNT - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
An example deposit amount.
- doAction() - Method in class org.logicmachine.rebl.integrationTests_0_helloWorld.HelloWorldxample.HelloWorldAction
- doAction() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.CompanyTest.GivePayRise
- doAction() - Method in class org.logicmachine.rebl.integrationTests_4_stateMachine.StateMachineApplication.MyShutdownAction
- doAction() - Method in class org.logicmachine.rebl.integrationTests_4_stateMachine.StateMachineApplication.MyStartUpAction
- doAction() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase.MyExceptionAction
- doAction() - Method in class org.logicmachine.rebl.integrationTests_6_bank.actions.AccountTransaction
E
- Employee - Class in org.logicmachine.rebl.integrationTests_1_entitiesAndActors
-
The business object representing an employee of an organisation.
- Employee() - Constructor for class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Employee
- emptyEmployee() - Static method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Employee
-
Returns a non-null empty employee instance.
- enableOverdraft(Number) - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.active.Account
-
Allows this account to become overdrawn.
- entity1 - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Holds the ActiveEntity associated with a scope.
- entity2 - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Holds the ActiveEntity associated with a scope.
- equals(Object) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.BankDataStoreResource
- EQUALS - Enum constant in enum class org.logicmachine.rebl.integrationTests_6_bank.resources.Predicate.Comparison
-
The value associated with the predicate field must equal the specified predicate value to generate a match.
- ERROR_SHUTDOWN - Enum constant in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Error state - shutdown application.
- exceptionHandler1 - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Handle to the exception handler which will be attached to a scope.
- exceptionHandler2 - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Handle to the exception handler which will be attached to a scope.
- exceptionHandler3 - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Handle to the exception handler which will be attached to a scope.
- ExceptionHandlingBase - Class in org.logicmachine.rebl.integrationTests_5_exceptionHandling
-
This class contains use-case examples of exception handling in sequential scopes.
- ExceptionHandlingBase() - Constructor for class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Default constructor.
- ExceptionHandlingBase.MyExceptionAction - Class in org.logicmachine.rebl.integrationTests_5_exceptionHandling
-
For this example, we just want a simple set of actions which logs out the data associated with each instance before explicitly throwing an exception.
- ExceptionHandlingBase.MyExceptionHandler - Class in org.logicmachine.rebl.integrationTests_5_exceptionHandling
-
For this example, we wish to verify that the correct exception handler instance has been triggered for the correct exception.
F
- find(String) - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.owning.Customer
-
Searches the current scope for a customer matching the specified name.
- findQuietly(String) - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.owning.Customer
-
Searches the current scope for a customer matching the specified name.
G
- get(TransactionDetails) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.BankDataStoreResource
-
Returns the value from the table, indexed by the Predicate value within the given 'details'.
- GET_ACCOUNT_DETAILS - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
This action asserts that the current account balance equals the specified value.
- getActiveEntities() - Method in class org.logicmachine.rebl.integrationTests_0_helloWorld.HelloWorldxample.MyActor
- getActiveEntities() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Company
- getActiveEntities() - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.owning.Customer
- getActiveEntity() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Company
- getActiveEntity() - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.owning.Customer
- getBalance() - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.active.Account
-
Returns the current balance for this account.
- getCompanyName() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Company
-
Returns the name of this company.
- getComparison() - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.Predicate
-
Returns the nature of the equality comparison used to identify a match.
- getDepartment() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Employee
-
Returns the department to which this employee has been assigned.
- getDepartment(String) - Static method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Department
-
Returns the department of the given name, or null if no such department exists.
- getDepartmentId() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Department
-
Returns the unique numeric id associated with this specific department.
- getDepartmentName() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Department
-
Returns the name of this department.
- getEmployeeId() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Employee
-
Returns the unique employee id associated with this employee.
- getFieldName() - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.Predicate
-
Returns the name of the field against which this predicate will be actioned.
- getInitalSalary(Employee) - Static method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.CompanyTest
-
Returns the initial base salary associated with the department to which the given 'employee' has been assigned.
- getName() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Employee
-
Returns the name of this employee.
- getPersistedAccountBalance(Scope, String) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.PersistenceOperations
-
Retrieves the persisted balance of the specified customer account.
- getSalary() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Employee
-
Returns the employees salary.
- getSalary() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Salary
-
Returns the salary associated with this employee.
- getSalaryAsString() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Salary
-
Returns a string representation of the salary associated with this employee.
- getSalaryByDepartment(String) - Static method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.CompanyTest
-
For the purpose of this example, we are assuming that any employee working in Sales will be earning a high salary and everyone else will be earning a lower salary.
- getSalaryForDepartment(String) - Static method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.CompanyTest
-
For the purpose of this example, we are assuming that any employee working in Sales will be earning a high salary and everyone else will be earning a lower salary.
- getValue() - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.Predicate
-
Returns the field value on which to match, or the field value to be persisted.
- GivePayRise() - Constructor for class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.CompanyTest.GivePayRise
H
- handleException(Exception) - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase.MyExceptionHandler
- handleException(Exception) - Method in class org.logicmachine.rebl.integrationTests_6_bank.exceptions.AccountExceptionHandler
- hasFunds(Number) - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.passive.Balance
-
Returns true if the account balance exceeds the specified amount; returns false otherwise.
- hasFunds(Number, Number) - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.passive.Balance
-
Returns true if the account balance plus the 'overdraftLimit' exceeds the specified amount; returns false otherwise.
- hashCode() - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.BankDataStoreResource
- HelloWorldAction() - Constructor for class org.logicmachine.rebl.integrationTests_0_helloWorld.HelloWorldxample.HelloWorldAction
- HelloWorldxample - Class in org.logicmachine.rebl.integrationTests_0_helloWorld
-
This class contains the most basic "HelloWorld" example, which simply creates a minimal platform and displays the standard "HelloWorld" message.
- HelloWorldxample() - Constructor for class org.logicmachine.rebl.integrationTests_0_helloWorld.HelloWorldxample
-
Default constructor (needs to be public, for JUnit).
- HelloWorldxample.HelloWorldAction - Class in org.logicmachine.rebl.integrationTests_0_helloWorld
-
Defines the HelloWorld action, which actually causes the "Hello World" message to be output.
- HelloWorldxample.MyActor - Class in org.logicmachine.rebl.integrationTests_0_helloWorld
-
The business object representing an OwningEntity.
I
- ILLEGAL_ARGUMENT_ERROR - Enum constant in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Error state.
- IN_CREDIT - Enum constant in enum class org.logicmachine.rebl.integrationTests_6_bank.stateMachines.AccountStates
-
The account is currently in credit.
- INIT - Enum constant in enum class org.logicmachine.rebl.integrationTests_4_stateMachine.States
-
Initialise the application.
- INIT - Enum constant in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Initialise the application.
- INIT - Enum constant in enum class org.logicmachine.rebl.integrationTests_6_bank.stateMachines.AccountStates
-
The account is in the process of being set up.
- INNER_SCOPE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Name associated with an inner nested scope example.
- INSUFFICIENT_FUNDS_EXCEPTION - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Holds the error message used to indicate insufficient funds in the account to complete the current transaction.
- INVALID_AMOUNT_EXCEPTION - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Holds the error message used to indicate an invalid currency amount for the current transaction.
- isOverdrawn() - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.passive.Balance
-
Returns true if the current value of the balance is less than zero.
- isValid() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Salary
-
Returns true if this salary instance holds a valid salary; returns false otherwise.
- isValid() - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.Predicate
-
Returns true if all of the field name and comparison type fields associated with this predicate have been correctly defined.
L
- language - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Handle to the language template associated with this application.
- LARGE_DEPOSIT_AMOUNT - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
An example deposit amount.
M
- main(String[]) - Static method in class org.logicmachine.rebl.integrationTests_0_helloWorld.HelloWorldxample
-
Platform entry-point, invoking the core application functionality.
- main(String[]) - Static method in class org.logicmachine.rebl.integrationTests_2_scope.ParallelScopeBlockExample
-
Platform entry-point, invoking the core application functionality.
- main(String[]) - Static method in class org.logicmachine.rebl.integrationTests_2_scope.SequentialScopeBlockExample
-
Platform entry-point, invoking the core application functionality.
- main(String[]) - Static method in class org.logicmachine.rebl.integrationTests_4_stateMachine.StateMachineApplication
-
Platform entry-point, invoking the unit tests within this module.
- main(String[]) - Static method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ParallelScopeExceptionHandling
-
Platform entry-point, invoking the core application functionality.
- main(String[]) - Static method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.SequentialScopeExceptionHandling
-
Platform entry-point, invoking the core application functionality.
- main(String[]) - Static method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.StateMachineExceptionHandlingApplication
-
Platform entry-point, invoking each of the unit tests within this module.
- main(String[]) - Static method in class org.logicmachine.rebl.integrationTests_6_bank.Bank
-
Platform entry-point, invoking the core functionality of the bank and applying a range of actions to the customer accounts.
- MAKE_DEPOSIT - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
This action allows a deposit to be made to an account.
- MAKE_PURCHASE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
This action allows a purchase to be made from an account.
- makeDeposit(Scope, Number) - Method in class org.logicmachine.rebl.integrationTests_6_bank.components.CustomerInteraction
-
Used to apply a deposit to the account.
- makePurchase(Scope, Number) - Method in class org.logicmachine.rebl.integrationTests_6_bank.components.CustomerInteraction
-
Used to apply a purchase to the account.
- makeWithdrawal(Scope, Number) - Method in class org.logicmachine.rebl.integrationTests_6_bank.components.CustomerInteraction
-
Used to make a withdrawal from the account.
- matches(Object) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.Predicate
-
Returns true if the given 'value' satisfies the selection criteria for this predicate.
- MAX_REPEAT_COUNT - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
A retry example.
- MY_DURATION_MONITOR - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Name associated with a system monitor capable of monitoring the duration of actions.
- MY_THROUGHPUT_MONITOR - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Name associated with a system monitor capable of monitoring data throughput.
- MyActor(Object) - Constructor for class org.logicmachine.rebl.integrationTests_0_helloWorld.HelloWorldxample.MyActor
-
Constructor, creating an Actor of the given name and creating the ActiveEntity owned by this instance.
- MyExceptionHandler() - Constructor for class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase.MyExceptionHandler
- MyShutdownAction() - Constructor for class org.logicmachine.rebl.integrationTests_4_stateMachine.StateMachineApplication.MyShutdownAction
- MyStartUpAction() - Constructor for class org.logicmachine.rebl.integrationTests_4_stateMachine.StateMachineApplication.MyStartUpAction
N
- NOT_EQUALS - Enum constant in enum class org.logicmachine.rebl.integrationTests_6_bank.resources.Predicate.Comparison
-
The value associated with the predicate field must not equal the specified predicate value to generate a match.
O
- OPEN - Enum constant in enum class org.logicmachine.rebl.integrationTests_6_bank.stateMachines.AccountStates
-
The account has been opened, but no transactions have yet been applied.
- openAccount() - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.active.Account
-
Set the state of the account to Open state.
- org.logicmachine.rebl.integrationTests_0_helloWorld - package org.logicmachine.rebl.integrationTests_0_helloWorld
-
This package contains the most basic "HelloWorld" example, which simply creates a minimal platform comprising a single Action which displays the standard "Hello World" message.
- org.logicmachine.rebl.integrationTests_1_entitiesAndActors - package org.logicmachine.rebl.integrationTests_1_entitiesAndActors
-
This package contains use-case examples of various entities and actors.
- org.logicmachine.rebl.integrationTests_2_scope - package org.logicmachine.rebl.integrationTests_2_scope
-
This package contains use-case examples of Scope handling, including both parallel and sequential scopes as well as nested scopes.
- org.logicmachine.rebl.integrationTests_4_stateMachine - package org.logicmachine.rebl.integrationTests_4_stateMachine
-
This package contains use-case examples of finite state machines.
- org.logicmachine.rebl.integrationTests_5_exceptionHandling - package org.logicmachine.rebl.integrationTests_5_exceptionHandling
-
This package contains use-case examples of exception handling, in both sequential scopes and parallel scopes.
- org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine - package org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine
-
This package contains a use-case example of exception handling implemented via a Finite State Machine.
- org.logicmachine.rebl.integrationTests_6_bank - package org.logicmachine.rebl.integrationTests_6_bank
-
This package contains an example application which implements basic banking functionality.
- org.logicmachine.rebl.integrationTests_6_bank.actions - package org.logicmachine.rebl.integrationTests_6_bank.actions
-
This package defines the actions which can be applied to active entities within this business domain example.
- org.logicmachine.rebl.integrationTests_6_bank.components - package org.logicmachine.rebl.integrationTests_6_bank.components
-
This package defines the standalone business functionality used by this business domain example.
- org.logicmachine.rebl.integrationTests_6_bank.entities.active - package org.logicmachine.rebl.integrationTests_6_bank.entities.active
-
This package defines the active entities used by this business domain example.
- org.logicmachine.rebl.integrationTests_6_bank.entities.owning - package org.logicmachine.rebl.integrationTests_6_bank.entities.owning
-
This package defines the actors used by this business domain example.
- org.logicmachine.rebl.integrationTests_6_bank.entities.passive - package org.logicmachine.rebl.integrationTests_6_bank.entities.passive
-
This package defines the passive entities used by this business domain example.
- org.logicmachine.rebl.integrationTests_6_bank.exceptions - package org.logicmachine.rebl.integrationTests_6_bank.exceptions
-
This package defines the exception-related classes used by this business domain example.
- org.logicmachine.rebl.integrationTests_6_bank.resources - package org.logicmachine.rebl.integrationTests_6_bank.resources
-
This package defines the resources required by this business domain example.
- org.logicmachine.rebl.integrationTests_6_bank.stateMachines - package org.logicmachine.rebl.integrationTests_6_bank.stateMachines
-
This package defines the enumerations required by the state machines used within this business domain example.
- OUTER_SCOPE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Name associated with an outer enclosing scope example.
- OVERDRAWN - Enum constant in enum class org.logicmachine.rebl.integrationTests_6_bank.stateMachines.AccountStates
-
The account is currently overdrawn.
P
- ParallelScopeBlockExample - Class in org.logicmachine.rebl.integrationTests_2_scope
-
This class defines application logic which creates a small hierarchy of nested Scope instances.
- ParallelScopeBlockExample() - Constructor for class org.logicmachine.rebl.integrationTests_2_scope.ParallelScopeBlockExample
-
Default constructor.
- ParallelScopeExceptionHandling - Class in org.logicmachine.rebl.integrationTests_5_exceptionHandling
-
This class contains use-case examples of exception handling in parallel scopes.
- ParallelScopeExceptionHandling() - Constructor for class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ParallelScopeExceptionHandling
-
Default constructor.
- PAY_INCREASE - Static variable in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.CompanyTest
-
For this example, we are assuming that all employees will be awarded a 10% pay rise.
- PERSIST_ACCOUNT_DETAILS - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
This action asserts that the current account balance equals the specified value.
- persistAccountBalance(Scope, String) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.PersistenceOperations
-
Persists the specified customer account details.
- PersistenceOperations - Class in org.logicmachine.rebl.integrationTests_6_bank.resources
-
Defines the operations associated with the persistence of Account details.
- PersistenceOperations() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.resources.PersistenceOperations
- Predicate - Class in org.logicmachine.rebl.integrationTests_6_bank.resources
-
This class illustrates how to define a predicate for use with a particular resource.
- Predicate(String, Predicate.Comparison, String) - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.resources.Predicate
-
Creates a new predicate instance for an in-memory database resource.
- Predicate.Comparison - Enum Class in org.logicmachine.rebl.integrationTests_6_bank.resources
-
Defines the required equality within a predicate definition so that the given field must either be equal-to or not-equal-to the given value to result in a predicate match.
- PROCESS_RECORD - Enum constant in enum class org.logicmachine.rebl.integrationTests_4_stateMachine.States
-
Process the record.
- PROCESS_RECORD - Enum constant in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Process the record.
- Purchase - Class in org.logicmachine.rebl.integrationTests_6_bank.actions
-
The business action associated with making a purchase from a current account.
- Purchase() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.actions.Purchase
-
Default constructor.
- Purchase(Number) - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.actions.Purchase
-
Constructor creating a purchase action of the specified value.
- PURCHASE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Name associated with an outer enclosing scope example.
- PURCHASE_AMOUNT - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
An example purchase amount.
R
- read(Object) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.Table
-
Returns the 'row' of values matching the given 'key'.
- read(Predicate) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.Table
-
Returns the 'row(s)' of values matching the given 'predicate'.
- READ_RECORD - Enum constant in enum class org.logicmachine.rebl.integrationTests_4_stateMachine.States
-
Read a record to process.
- READ_RECORD - Enum constant in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Read a record to process.
- Refund - Class in org.logicmachine.rebl.integrationTests_6_bank.actions
-
The business action associated with applying a refund to a current account.
- Refund() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.actions.Refund
-
Default constructor.
- Refund(Number) - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.actions.Refund
-
Constructor creating a refund action of the specified value.
- REFUND - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Name associated with an outer enclosing scope example.
- REFUND_AMOUNT - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
An example refund amount.
S
- Salary - Class in org.logicmachine.rebl.integrationTests_1_entitiesAndActors
-
This business object represents an employees salary.
- Salary(String) - Constructor for class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Salary
-
Constructor allowing an employees salary to be defined.
- scopeA - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Holds one top-level Scope instance.
- scopeB - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Holds one top-level Scope instance.
- scopeC - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Holds one nested Scope instance.
- scopeD - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Holds one nested Scope instance.
- scopeE - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Holds one nested Scope instance.
- scopeF - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Holds one nested Scope instance.
- SECURITY_ERROR - Enum constant in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Error state.
- SequentialScopeBlockExample - Class in org.logicmachine.rebl.integrationTests_2_scope
-
This class defines application logic which creates a small hierarchy of nested Scope instances.
- SequentialScopeBlockExample() - Constructor for class org.logicmachine.rebl.integrationTests_2_scope.SequentialScopeBlockExample
-
Default constructor.
- SequentialScopeExceptionHandling - Class in org.logicmachine.rebl.integrationTests_5_exceptionHandling
-
This class contains use-case examples of exception handling in sequential scopes.
- SequentialScopeExceptionHandling() - Constructor for class org.logicmachine.rebl.integrationTests_5_exceptionHandling.SequentialScopeExceptionHandling
-
Default constructor.
- SERVICE_CHARGE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
The service charge amount to apply to an account.
- setup() - Static method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.CompanyTest
-
Test class initialisation.
- setupEntitiesForScopes() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
This method will create active entities and attach these to the previously defined Scopes.
- setupExceptionHandlers() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
This method creates a number of exception handler instances and attaches these to various scopes.
- setupExceptionHandlers() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ParallelScopeExceptionHandling
- setupExceptionHandlers() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.SequentialScopeExceptionHandling
- setupLanguage() - Static method in class org.logicmachine.rebl.integrationTests_2_scope.ParallelScopeBlockExample
-
Initialises the language instance for this class.
- setupLanguage() - Static method in class org.logicmachine.rebl.integrationTests_2_scope.SequentialScopeBlockExample
-
Initialises the language instance for this class.
- setupLanguage() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Initialises the language template instance for this class.
- setupScopes() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Derived classes should override this method to configure the scopes in the manner required for each test case.
- setupScopes() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ParallelScopeExceptionHandling
-
Creates the scopes required by this example.
- setupScopes() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.SequentialScopeExceptionHandling
-
Creates the scopes required by this example.
- shouldAssignEmployeesToCorrectDepartment() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.CompanyTest
-
Integration test.
- shouldCatchExceptionInDefaultScope() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.SequentialScopeExceptionHandling
-
Should trigger an exception in scope C which will bubble up through scope A before being caught in the top-level default scope and handled by the exception handler associated with the default scope.
- shouldCatchExceptionInParallelScope() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ParallelScopeExceptionHandling
-
Should trigger an exception in scope F which will bubble up through scope E before being caught in the parent scope D and handled by the exception handler associated with scope D.
- shouldCatchExceptionInParentScope() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.SequentialScopeExceptionHandling
-
Should trigger an exception in scope F which will bubble up through scope E (where the exception matcher will not match the exception and therefore the exception handler in scope E will ignore it) before being caught in the parent scope D and handled by the exception handler associated with scope D.
- shouldFailToHandleExceptionInParallelScope() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ParallelScopeExceptionHandling
-
Should trigger an exception in scope C which, being standalone and having no exception handlers, will be unable to handle this exception.
- shouldGivePayRises() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.CompanyTest
-
Integration test.
- shouldHandleIllegalArgumentExceptionInCleanUp() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.StateMachineExceptionHandlingApplication
-
Integration test.
- shouldHandleIllegalArgumentExceptionInUpdateMetrics() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.StateMachineExceptionHandlingApplication
-
Integration test.
- shouldHandleIllegalArgumentExceptionInValidate() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.StateMachineExceptionHandlingApplication
-
Integration test.
- shouldHandleSecurityExceptionInProcessRecord() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.StateMachineExceptionHandlingApplication
-
Integration test.
- shouldHandleSecurityExceptionInReadRecord() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.StateMachineExceptionHandlingApplication
-
Integration test.
- shouldHandleSecurityExceptionInWriteResults() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.StateMachineExceptionHandlingApplication
-
Integration test.
- shouldHandleUnknownExceptionAndResumeInitState() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.StateMachineExceptionHandlingApplication
-
Integration test.
- shouldHaveEmployees() - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.CompanyTest
-
Integration test.
- shouldInvokeActions() - Method in class org.logicmachine.rebl.integrationTests_2_scope.ParallelScopeBlockExample
-
Alternate entry-point, invoking the core application functionality as a unit test.
- shouldInvokeActions() - Method in class org.logicmachine.rebl.integrationTests_2_scope.SequentialScopeBlockExample
-
Alternate entry-point, invoking the core application functionality as a unit test.
- shouldInvokeBankLogic() - Method in class org.logicmachine.rebl.integrationTests_6_bank.Bank
-
Alternate entry-point, invoking the core functionality of the bank as a unit test and applying a range of actions to the customer accounts.
- shouldInvokeHelloWorld() - Method in class org.logicmachine.rebl.integrationTests_0_helloWorld.HelloWorldxample
-
Alternate entry-point, invoking the core functionality of the Hello World example as a unit test.
- shouldRunToCompletion() - Method in class org.logicmachine.rebl.integrationTests_4_stateMachine.StateMachineApplication
-
Integration test.
- shouldRunToCompletionWithoutError() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.StateMachineExceptionHandlingApplication
-
Integration test.
- SHUTDOWN - Enum constant in enum class org.logicmachine.rebl.integrationTests_4_stateMachine.States
-
Terminate the application.
- SHUTDOWN - Enum constant in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Terminate the application.
- SLEEP_TIME - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
For a retry example, this represents the sleep time in milliseconds between consecutive iterations.
- STANDARD_FIXED_BANK_CHARGE - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Holds the standard account fee to be applied to all accounts.
- start(ExceptionHandlingBase, boolean, boolean) - Static method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Helper method which actually invokes the logic for this application.
- StateMachineApplication - Class in org.logicmachine.rebl.integrationTests_4_stateMachine
-
This class defines application logic which provides a processing loop together with typical processing methods.
- StateMachineApplication() - Constructor for class org.logicmachine.rebl.integrationTests_4_stateMachine.StateMachineApplication
-
Default constructor.
- StateMachineApplication.MyShutdownAction - Class in org.logicmachine.rebl.integrationTests_4_stateMachine
-
This class provides a trivial implementation of an Action to be invoked on shutdown.
- StateMachineApplication.MyStartUpAction - Class in org.logicmachine.rebl.integrationTests_4_stateMachine
-
This class provides a trivial implementation of an Action to be invoked on startup.
- StateMachineExceptionHandlingApplication - Class in org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine
-
This class defines application logic which provides a processing loop together with typical processing methods.
- StateMachineExceptionHandlingApplication() - Constructor for class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.StateMachineExceptionHandlingApplication
-
Default constructor.
- States - Enum Class in org.logicmachine.rebl.integrationTests_4_stateMachine
-
This enumeration specifies the application states.
- States - Enum Class in org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine
-
This enumeration specifies all of the possible states including valid processing states and error states.
- subtract(Number) - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.passive.Balance
-
Updates the current balance by subtracting the specified 'amount' from the current balance.
T
- Table - Class in org.logicmachine.rebl.integrationTests_6_bank.resources
-
This class can be used as a simplistic in-memory data store to maintain the data associated with one 'table', where a 'table' holds rows of values.
- Table() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.resources.Table
-
Default constructor.
- Table(String, String...) - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.resources.Table
-
This method allows a new 'table' to be created, indexed by the given 'keyFieldName' and containing the other specified (non-key) 'fieldNames'.
- throwExceptionInScopeC - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Flag controlling the location from which an exception will be thrown for this example.
- throwExceptionInScopeF - Variable in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Flag controlling the location from which an exception will be thrown for this example.
- toString() - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.passive.Balance
- toString(int) - Method in class org.logicmachine.rebl.integrationTests_6_bank.actions.AccountTransaction
- toString(int) - Method in class org.logicmachine.rebl.integrationTests_6_bank.entities.active.Account
- TRANSACTION_DETAILS_FORMAT - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Holds the logging format used to log transaction details.
- transactionDate() - Method in class org.logicmachine.rebl.integrationTests_6_bank.actions.AccountTransaction
-
Returns a string holding the formatted transaction date associated with this transaction.
- transfer(Scope, String, String, Number) - Method in class org.logicmachine.rebl.integrationTests_6_bank.components.CustomerInteraction
-
Provides the functionality to transfer funds between two customer accounts.
- TRANSFER - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
This Action allows a transfer of funds to be applied between two accounts.
- TRANSFER_AMOUNT - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
An example amount to transfer between accounts.
U
- UNKNOWN_ERROR - Enum constant in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Error state.
- update(Object, Object...) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.Table
-
Updates the specified fields with the given new values for the row identified by the specified key.
- update(Predicate, Object...) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.Table
-
Updates the specified fields with the given new values for the rows matching the specified predicate.
- UPDATE_ACCOUNT_DETAILS - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
This action asserts that the current account balance equals the specified value.
- UPDATE_METRICS - Enum constant in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Update reporting metrics which includes both valid processing metrics as well as any error statistics.
- updatePersistedAccountBalance(Scope, String) - Method in class org.logicmachine.rebl.integrationTests_6_bank.resources.PersistenceOperations
-
Updates the previously persisted customer account details.
- updateSalary(Salary) - Method in class org.logicmachine.rebl.integrationTests_1_entitiesAndActors.Employee
-
Allows the current salary for this employee to be modified.
V
- VALIDATE - Enum constant in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Perform data validation.
- valueOf() - Method in class org.logicmachine.rebl.integrationTests_6_bank.actions.AccountTransaction
-
Returns the value associated with this transaction.
- valueOf(String) - Static method in enum class org.logicmachine.rebl.integrationTests_4_stateMachine.States
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.logicmachine.rebl.integrationTests_6_bank.resources.Predicate.Comparison
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.logicmachine.rebl.integrationTests_6_bank.stateMachines.AccountStates
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.logicmachine.rebl.integrationTests_4_stateMachine.States
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.logicmachine.rebl.integrationTests_6_bank.resources.Predicate.Comparison
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.logicmachine.rebl.integrationTests_6_bank.stateMachines.AccountStates
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verify() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Verifies that the expected exception has been thrown and has been handled by the correct exception handler.
- verify() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ParallelScopeExceptionHandling
- verify() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.SequentialScopeExceptionHandling
- verifyExceptionHanderActivated(ExceptionHandler) - Static method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Verifies that the given 'exceptionHandler' has been activated by the thrown exception.
- verifyExceptionHanderNotActivated(ExceptionHandler) - Static method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Verifies that the given 'exceptionHandler' has not been activated by the thrown exception.
- verifyExceptionHandled(ExceptionHandler) - Static method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Verifies that the given 'exceptionHandler' has been able to handle the thrown exception.
- verifyExceptionNotHandled(ExceptionHandler) - Static method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Verifies that the given 'exceptionHandler' has not been able to handle the thrown exception.
W
- wantAnExceptionInScopeC() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Setter method controlling the location from which an exception will be thrown.
- wantAnExceptionInScopeF() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase
-
Setter method controlling the location from which an exception will be thrown.
- wasTriggered() - Method in class org.logicmachine.rebl.integrationTests_5_exceptionHandling.ExceptionHandlingBase.MyExceptionHandler
-
Returns true if this exception handler has been triggered by a thrown exception.
- withAmount(Number) - Method in class org.logicmachine.rebl.integrationTests_6_bank.actions.AccountTransaction
-
Setter method allowing the amount of this transaction to be defined.
- Withdrawal - Class in org.logicmachine.rebl.integrationTests_6_bank.actions
-
The business action associated with making a withdrawal from a current account.
- Withdrawal() - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.actions.Withdrawal
-
Default constructor.
- Withdrawal(Number) - Constructor for class org.logicmachine.rebl.integrationTests_6_bank.actions.Withdrawal
-
Constructor creating a withdrawal action of the specified value.
- WITHDRAWAL - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
Name associated with an outer enclosing scope example.
- WITHDRAWAL_AMOUNT - Static variable in class org.logicmachine.rebl.integrationTests_6_bank.ConfigValues
-
An example withdrawal amount.
- WRITE_RESULTS - Enum constant in enum class org.logicmachine.rebl.integrationTests_4_stateMachine.States
-
Store the processing results.
- WRITE_RESULTS - Enum constant in enum class org.logicmachine.rebl.integrationTests_5_exceptionHandling.stateMachine.States
-
Store processing results.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form