Skip navigation links
A B C D E F G I O R S T V 

A

AbstractCommand - Class in com.github.mvp4g.sema4g.client.command
AbstractCommand provides base functionality to run a SeMa4g command.
AbstractCommand() - Constructor for class com.github.mvp4g.sema4g.client.command.AbstractCommand
 
add(SeMa4gCommand) - Method in class com.github.mvp4g.sema4g.client.SeMa4g.Builder
Adds the command to the list of commands, which will be executed, when the context runs.
add(List<SeMa4gCommand>) - Method in class com.github.mvp4g.sema4g.client.SeMa4g.Builder
Adds a list of commands to the list of already added commands, which will be executed, when the context runs.
addFinalCommand(FinalCommand) - Method in class com.github.mvp4g.sema4g.client.SeMa4g.Builder
Adds a FinalCommand to the SeMa4g.
addInitCommand(InitCommand) - Method in class com.github.mvp4g.sema4g.client.SeMa4g.Builder
Adds a InitCommand to the SeMa4g.
AsyncCommand - Class in com.github.mvp4g.sema4g.client.command
A asynchronous command to use with SeMa4g.
AsyncCommand() - Constructor for class com.github.mvp4g.sema4g.client.command.AsyncCommand
 

B

build() - Method in class com.github.mvp4g.sema4g.client.SeMa4g.Builder
 
builder() - Static method in class com.github.mvp4g.sema4g.client.SeMa4g
 
Builder() - Constructor for class com.github.mvp4g.sema4g.client.SeMa4g.Builder
 

C

checkCycleDependencies(List<SeMa4gCommand>) - Method in class com.github.mvp4g.sema4g.client.command.AbstractCommand
Checks if there is a cycle dependencies
checkCycleDependencies(List<SeMa4gCommand>) - Method in interface com.github.mvp4g.sema4g.client.command.SeMa4gCommand
Checks if there is a cycle dependencies for this command.
com.github.mvp4g.sema4g.client - package com.github.mvp4g.sema4g.client
 
com.github.mvp4g.sema4g.client.command - package com.github.mvp4g.sema4g.client.command
 
com.github.mvp4g.sema4g.client.command.proxy - package com.github.mvp4g.sema4g.client.command.proxy
 
com.github.mvp4g.sema4g.client.exception - package com.github.mvp4g.sema4g.client.exception
 

D

dependingOn(SeMa4gCommand...) - Method in class com.github.mvp4g.sema4g.client.command.AbstractCommand
Definies the SeMa4gCommand (one or more) which have to be finished before this command can be executed.
dependingOn(SeMa4gCommand...) - Method in interface com.github.mvp4g.sema4g.client.command.SeMa4gCommand
Definies the SeMa4gCommand (one or more) which have to be finished before this command can be executed.

E

ERROR_CYCLE_DEPENDENCIES_DETECTED - Static variable in class com.github.mvp4g.sema4g.client.SeMa4gConstants
 
ERROR_CYCLE_DEPENDS_ON_OWN_COMMAND - Static variable in class com.github.mvp4g.sema4g.client.SeMa4gConstants
 
ERROR_NO_FINAL_COMMAND - Static variable in class com.github.mvp4g.sema4g.client.SeMa4gConstants
 
execute() - Method in class com.github.mvp4g.sema4g.client.command.AbstractCommand
Use this method to implement the execution code.

F

failure(Throwable) - Method in class com.github.mvp4g.sema4g.client.command.AsyncCommand
 
FinalCommand - Interface in com.github.mvp4g.sema4g.client.command
This command allows to execute statements in case a execution context has finished.

G

getDependencies() - Method in class com.github.mvp4g.sema4g.client.command.AbstractCommand
Returns the list of SeMa4gCommand for this SeMa4gCommand which have to be (successfully) executed before this command can be started
getDependencies() - Method in interface com.github.mvp4g.sema4g.client.command.SeMa4gCommand
Returns the list of SeMa4gCommand for this SeMa4gCommand which have to be (successfully) executed before this command can be started
getExecutionContext() - Method in class com.github.mvp4g.sema4g.client.command.AbstractCommand
Returns the SeMa4g for this command.
getExecutionContext() - Method in interface com.github.mvp4g.sema4g.client.command.SeMa4gCommand
Returns the SeMa4g for this command.
getNextId() - Static method in class com.github.mvp4g.sema4g.client.SeMa4gUtils
Get the next unique id.
getState() - Method in class com.github.mvp4g.sema4g.client.command.AbstractCommand
Returns the current SeMa4gCommand.State
getState() - Method in interface com.github.mvp4g.sema4g.client.command.SeMa4gCommand
Returns the current SeMa4gCommand.State
getState() - Method in class com.github.mvp4g.sema4g.client.SeMa4g
 

I

InitCommand - Interface in com.github.mvp4g.sema4g.client.command
This command allows to execute statements in case a SeMa4g is started.

O

onFailure() - Method in interface com.github.mvp4g.sema4g.client.command.FinalCommand
This method will be called if at least one of the commands ended in error.
onStart() - Method in interface com.github.mvp4g.sema4g.client.command.InitCommand
This method will be called in case the related execution context is started
onSuccess() - Method in interface com.github.mvp4g.sema4g.client.command.FinalCommand
This method will be called, if all commands are executed successfully.

R

reset() - Method in class com.github.mvp4g.sema4g.client.command.AbstractCommand
this method is called to reset the command
reset() - Method in interface com.github.mvp4g.sema4g.client.command.SeMa4gCommand
this method is called to reset the command
reset() - Method in class com.github.mvp4g.sema4g.client.SeMa4g
Resets all commands of the execution context
run() - Method in class com.github.mvp4g.sema4g.client.command.AbstractCommand
This method is used by the execution context to start the command
run() - Method in interface com.github.mvp4g.sema4g.client.command.SeMa4gCommand
This method is used by the execution context to start the command
run() - Method in class com.github.mvp4g.sema4g.client.command.SyncCommand
This method is used by the execution context to start the command
run() - Method in class com.github.mvp4g.sema4g.client.SeMa4g
Use this method to invoke all commands Make sure, that this method is called only once.

S

SeMa4g - Class in com.github.mvp4g.sema4g.client
The execution context manages all commands.
SeMa4g.Builder - Class in com.github.mvp4g.sema4g.client
 
SeMa4g.State - Enum in com.github.mvp4g.sema4g.client
state of the execution context
SeMa4gCommand - Interface in com.github.mvp4g.sema4g.client.command
This interface provide all needed methods to interact with the SeMa4g
SeMa4gCommand.State - Enum in com.github.mvp4g.sema4g.client.command
state of the execution context
SeMa4gConstants - Class in com.github.mvp4g.sema4g.client
 
SeMa4gConstants() - Constructor for class com.github.mvp4g.sema4g.client.SeMa4gConstants
 
SeMa4gException - Exception in com.github.mvp4g.sema4g.client.exception
This exception is thrown if something works not as expected
SeMa4gException(String) - Constructor for exception com.github.mvp4g.sema4g.client.exception.SeMa4gException
 
SeMa4gProxy - Interface in com.github.mvp4g.sema4g.client.command.proxy
Marks a class as a SeMa4g-Proxy
SeMa4gUtils - Class in com.github.mvp4g.sema4g.client
Utilities for sema4g
SeMa4gUtils() - Constructor for class com.github.mvp4g.sema4g.client.SeMa4gUtils
 
setExecutionContext(SeMa4g) - Method in class com.github.mvp4g.sema4g.client.command.AbstractCommand
Sets the SeMa4g for this command.
setExecutionContext(SeMa4g) - Method in interface com.github.mvp4g.sema4g.client.command.SeMa4gCommand
Sets the SeMa4g for this command.
setState(SeMa4gCommand.State) - Method in class com.github.mvp4g.sema4g.client.command.AbstractCommand
Sets the SeMa4gCommand.State of the command
setState(SeMa4gCommand.State) - Method in interface com.github.mvp4g.sema4g.client.command.SeMa4gCommand
Sets the SeMa4gCommand.State of the command
setStateError() - Method in class com.github.mvp4g.sema4g.client.command.AsyncCommand
 
setStateFinish() - Method in class com.github.mvp4g.sema4g.client.command.AsyncCommand
 
signalError() - Method in class com.github.mvp4g.sema4g.client.command.AbstractCommand
This command can be called to interrupt the execution and start the error behavior.
signalError() - Method in interface com.github.mvp4g.sema4g.client.command.SeMa4gCommand
This command can be called to interrupt the execution and start the error behavior.
signalError() - Method in class com.github.mvp4g.sema4g.client.SeMa4g
This command can be called to interrupt the execution and start the error behavior.
signalFinish() - Method in class com.github.mvp4g.sema4g.client.command.AbstractCommand
This command can be called to finish an execution and start the next one.
signalFinish() - Method in class com.github.mvp4g.sema4g.client.SeMa4g
This command can be called to finish an execution and start the next one.
startCheckCycleDependencies() - Method in class com.github.mvp4g.sema4g.client.command.AbstractCommand
starts a cycle dependency check
startCheckCycleDependencies() - Method in interface com.github.mvp4g.sema4g.client.command.SeMa4gCommand
starts a cycle dependency check
SyncCommand - Class in com.github.mvp4g.sema4g.client.command
A synchronous command to use with SeMa4g.
SyncCommand() - Constructor for class com.github.mvp4g.sema4g.client.command.SyncCommand
 

T

trigger() - Method in class com.github.mvp4g.sema4g.client.command.AsyncCommand
 
trigger() - Method in class com.github.mvp4g.sema4g.client.SeMa4g
This method is used by the framework.

V

valueOf(String) - Static method in enum com.github.mvp4g.sema4g.client.command.SeMa4gCommand.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.mvp4g.sema4g.client.SeMa4g.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.mvp4g.sema4g.client.command.SeMa4gCommand.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.mvp4g.sema4g.client.SeMa4g.State
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G I O R S T V 
Skip navigation links

Copyright © 2018. All rights reserved.