BrightSide Workbench Full Report + Source Code
HandshakeAction.java
Go to the documentation of this file.
1
/*
2
* TurrĂ³ i Cutiller Foundation. License notice.
3
* Copyright (C) 2015 Lluis TurrĂ³ Cutiller <http://www.turro.org/>
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU Affero General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU Affero General Public License for more details.
14
*
15
* You should have received a copy of the GNU Affero General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
package
org.turro.financials.handshake;
19
24
public
enum
HandshakeAction
{
25
26
// Send a handshake petition
27
HANDSHAKE_PETITION
,
28
// Accept the handshake
29
HANDSHAKE_ACCEPTANCE
,
30
// Send a handshake document
31
HANDSHAKE_DOCUMENT
,
32
// Send handshake product
33
HANDSHAKE_PRODUCT
,
34
// Check status
35
HANDSHAKE_STATUS
;
36
37
public
static
HandshakeAction
getAction
(String value) {
38
try
{
39
return
HandshakeAction
.valueOf(value);
40
}
catch
(IllegalArgumentException |NullPointerException ex) {
41
return
null
;
42
}
43
}
44
45
}
org.turro.financials.handshake.HandshakeAction
Definition:
HandshakeAction.java:24
org.turro.financials.handshake.HandshakeAction.HANDSHAKE_PRODUCT
HANDSHAKE_PRODUCT
Definition:
HandshakeAction.java:33
org.turro.financials.handshake.HandshakeAction.HANDSHAKE_STATUS
HANDSHAKE_STATUS
Definition:
HandshakeAction.java:35
org.turro.financials.handshake.HandshakeAction.HANDSHAKE_ACCEPTANCE
HANDSHAKE_ACCEPTANCE
Definition:
HandshakeAction.java:29
org.turro.financials.handshake.HandshakeAction.getAction
static HandshakeAction getAction(String value)
Definition:
HandshakeAction.java:37
org.turro.financials.handshake.HandshakeAction.HANDSHAKE_DOCUMENT
HANDSHAKE_DOCUMENT
Definition:
HandshakeAction.java:31
org.turro.financials.handshake.HandshakeAction.HANDSHAKE_PETITION
HANDSHAKE_PETITION
Definition:
HandshakeAction.java:27
TurroProjects
Public
BrightSide
bsfinancials-core
src
main
java
org
turro
financials
handshake
HandshakeAction.java
Generated on Tue Mar 12 2024 07:01:19 for BrightSide by
1.9.1