public class FaultActions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FaultActions.FaultActionsBuilder |
Modifier and Type | Method and Description |
---|---|
int |
action(String fault,
String action)
Sets the action bits as appropriate for the given fault
and action
|
Object[] |
actions() |
void |
add(String k)
Add a new fault to the table, with all actions disabled
|
void |
addAction(String k)
Add a new action type to the table
|
void |
clear() |
boolean |
exists(String k) |
String |
getDescription(String k) |
boolean |
is(String fault,
String action)
Check if the given fault has the action set or not
|
Object[] |
names() |
void |
putDescription(String k,
String v) |
int |
size() |
public void clear()
public int size()
public Object[] names()
public Object[] actions()
public boolean exists(String k)
public void add(String k)
public void addAction(String k)
public boolean is(String fault, String action)
Copyright © 2016 The Apache Software Foundation. All rights reserved.