public class CallableRejectionConfig extends TextFile
Modifier and Type | Field and Description |
---|---|
protected COL |
parsed |
Modifier and Type | Method and Description |
---|---|
void |
append(String additional) |
protected Set<Class> |
create() |
List<RejectedCallable> |
describe()
Return the object that helps the UI rendering by providing the details.
|
COL |
get() |
void |
load()
Deprecated.
use
load2() instead. |
void |
load2()
Loads the configuration from the configuration file.
|
protected Class |
parse(String line) |
void |
parseTest(String candidate)
Goes through the parser with the given text to make sure it doesn't yield any error.
|
protected Set<Class> |
readOnly(Set<Class> base) |
void |
set(String newContent) |
@CopyOnWrite protected volatile COL extends Collection<T> parsed
public List<RejectedCallable> describe()
@Deprecated public void load()
load2()
instead.
This method is equivalent to load2()
, except that any
IOException
that occurs is wrapped as a
RuntimeException
.
This method exists for source compatibility. Users should call
load2()
instead.
public void load2() throws IOException
IOException
- if the configuration file could not be read.public void parseTest(String candidate)
public void set(String newContent) throws IOException
IOException
public void append(String additional) throws IOException
IOException
public COL get()
Copyright © 2004–2019. All rights reserved.